diff --git a/deploy/edit_invoice.sql b/deploy/edit_invoice.sql index 3f0f661..cf8aa2a 100644 --- a/deploy/edit_invoice.sql +++ b/deploy/edit_invoice.sql @@ -6,6 +6,7 @@ -- requires: edited_invoice_product -- requires: tax -- requires: invoice_product +-- requires: invoice_product_product -- requires: invoice_product_tax -- requires: tag_name diff --git a/sqitch.plan b/sqitch.plan index c92ca9e..dfdc81b 100644 --- a/sqitch.plan +++ b/sqitch.plan @@ -67,7 +67,7 @@ invoice_amount [schema_numerus invoice_product invoice_product_amount] 2023-02-2 new_invoice_amount [schema_numerus] 2023-02-23T12:08:25Z jordi fita mas # Add type to return when computing new invoice amounts compute_new_invoice_amount [schema_numerus company currency tax new_invoice_product new_invoice_amount] 2023-02-23T12:20:13Z jordi fita mas # Add function to compute the subtotal, taxes, and total amounts for a new invoice edited_invoice_product [schema_numerus discount_rate] 2023-03-11T19:22:24Z jordi fita mas # Add typo for passing products to edited invoices -edit_invoice [schema_numerus invoice currency parse_price edited_invoice_product tax invoice_product invoice_product_tax tag_name] 2023-03-11T18:30:50Z jordi fita mas # Add function to edit invoices +edit_invoice [schema_numerus invoice currency parse_price edited_invoice_product tax invoice_product invoice_product_product invoice_product_tax tag_name] 2023-03-11T18:30:50Z jordi fita mas # Add function to edit invoices add_contact [schema_numerus extension_vat email extension_pg_libphonenumber extension_uri country_code tag_name contact] 2023-03-25T22:32:37Z jordi fita mas # Add function to create new contacts edit_contact [schema_numerus email extension_uri country_code tag_name contact extension_vat extension_pg_libphonenumber] 2023-03-25T23:20:27Z jordi fita mas # Add function to edit contacts expense [schema_numerus contact company currency_code currency tag_name] 2023-04-30T13:46:36Z jordi fita mas # Add the expense relation