Commit Graph

23 Commits

Author SHA1 Message Date
cbd714d974 Fix prefilling team, invoice data when editing team info. 2021-04-23 12:24:27 +03:00
cf0a3b103b Migration script. 2021-04-22 19:05:41 +03:00
f0dec10854 Only add taxes that have labels to invoice rows. Be able to overwrite invoice row taxes when changing taxes on team. 2021-04-22 16:04:49 +03:00
26b247a638 Use i18n-http-backend to load translatiosn from json files. 2021-04-19 17:08:27 +03:00
eb85ab4e1b i18n 2021-04-19 13:23:59 +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
8bfb088f30 Be able to add default taxes to team. 2021-04-14 13:21:36 +03:00
328e30e874 Update team and client when updating custom field on invoice. 2021-04-14 11:52:32 +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
0a5d45e64b Prompt to update client details on invoice when closing client modal. 2021-04-13 15:28:12 +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
dce73b5603 When creating new client add distinct custom fields from all previous clients. 2021-04-12 14:35:04 +03:00
292fafe3a5 Separated client form into tabs. Fixed deleting client. Implemented custom fields for client and invoice client fields. Removed "hardcoded" client_reg_no and client_vat_no fields from client and invoice model - can be replaced with custom fields. Abstracted invoice-rows management to separate store namespace. Invoice client fields are prefilled from selected client. 2021-04-08 19:54:45 +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
b859309312 Remove unused code. Fix deleting invoice. 2021-02-26 23:59:45 +02:00
5cf166ca12 Fix persisting client changes. Fix persisting team changes. Fix validating vat of 0. 2021-02-16 22:09:59 +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
26ccd9365e Import data. 2021-02-16 18:34:04 +02:00
0ae8bbce91 Export data. 2021-02-16 17:50:17 +02:00
79e9705b01 Init commit 2021-02-16 16:24:22 +02:00