Issued invoices: actions are back, discounts as their own position

Issued invoices and credit notes can be sent, corrected, cancelled and marked as paid again, and a discount can be entered as a position with a negative price.

Fixed

  • Issued invoices and credit notes have actions again. Once an invoice or credit note had been issued, the editor offered no follow-up action at all — no sending, no correcting, no cancelling, no marking as paid. The document was stuck. All of these actions are available again; correcting and cancelling can now also be found directly in the three-dot menu on the document card, which is where you look for them first.
  • Discounts as their own position with a negative price. A discount can now be entered as a regular position with a negative price — for example a discount of minus 50 euros. Previously the system rejected any price below zero, which made a fixed-amount discount impossible to record.
  • Cards in the overview show the current state right away. After cancelling or correcting a document, its card in the overview still showed the old status until the page was reloaded by hand. The same card could also appear twice. Both are fixed.