fix(server): tax tracking on sale invoices

This commit is contained in:
Ahmed Bouhuolia
2023-09-23 14:19:42 +02:00
parent 92ac0dbd25
commit 1148fef9ad
6 changed files with 48 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ exports.up = (knex) => {
.unsigned()
.references('id')
.inTable('tax_rates');
table.decimal('tax_rate').unsigned();
})
.table('sales_invoices', (table) => {
table.boolean('is_inclusive_tax').defaultTo(false);