Commit Graph

13 Commits

Author SHA1 Message Date
f6b85595df Abstract backend functionality to be able to easily switch out backend implementation. 2021-08-25 13:18:55 +03:00
2e57464679 Added multiple taxes for invoice rows. Client has_vat => has_tax.
Abstracted add row button to separate component.
Abstracted invoice row headers to separate component.
Remove vat related things, now replaced with custom taxes.
Invoice tax totals are calculated per tax based on invoice rows.
2021-04-14 15:58:55 +03:00
e23e1f720e Do not prompt to update invoice client/team details when closing client/team modal.
Always pass invoice id when updating.
When changing team info re-prefill invoice team info.
2021-04-13 16:27:28 +03:00
580fd9aa5a Abstract footer to separate component. Abstract logo to separate component. Be able to edit team in modal. Add custom fields to team. Removed vat and reg no from team (replaced by custom fields). Custom fields are also stored on the invoice. When creating invoice add team custom fields to invoice as well. Be able to set default invoice due date, late fee, vat rate and currency. 2021-04-13 12:07:08 +03:00
ea92907758 Bank account fields improved to allow multi-line info (if you need to enter more details than only your account no). 2021-04-07 11:08:45 +03:00
1e0081acfe Fix postal code prefilling. 2021-03-08 10:42:44 +02:00
5ee9b01ee6 Fix success messages. 2021-02-17 11:11:12 +02:00
320bc5a3ad Abstract saving to DB. 2021-02-16 22:34:50 +02:00
b291455a05 Fix invoice totals in list. Don't store full client in invoices. 2021-02-16 21:45:40 +02:00
96fa3d1fcb Fix edge cases with error handling. 2021-02-16 21:32:52 +02:00
de779eda8a Improve naming conventions. Fail route first, then happy route. Abstract invoice no generation. Fix nested items validation. 2021-02-16 21:14:48 +02:00
9a3846b1e6 Add invoice validation & prefill invoice data. 2021-02-16 19:19:56 +02:00
79e9705b01 Init commit 2021-02-16 16:24:22 +02:00