mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: trigger compute items cost once the sale invoice and bill be edited or deleted.
This commit is contained in:
@@ -79,6 +79,7 @@ export default {
|
||||
saleInvoice: {
|
||||
onCreated: 'onSaleInvoiceCreated',
|
||||
onEdited: 'onSaleInvoiceEdited',
|
||||
onDelete: 'onSaleInvoiceDelete',
|
||||
onDeleted: 'onSaleInvoiceDeleted',
|
||||
onBulkDelete: 'onSaleInvoiceBulkDeleted',
|
||||
onPublished: 'onSaleInvoicePublished',
|
||||
@@ -127,7 +128,8 @@ export default {
|
||||
onDeleted: 'onBillDeleted',
|
||||
onBulkDeleted: 'onBillBulkDeleted',
|
||||
onPublished: 'onBillPublished',
|
||||
onInventoryTransactionsCreated: 'onBillInventoryTransactionsCreated'
|
||||
onInventoryTransactionsCreated: 'onBillInventoryTransactionsCreated',
|
||||
onInventoryTransactionsDeleted: 'onBillInventoryTransactionsDeleted'
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -163,6 +165,9 @@ export default {
|
||||
onOpeningBalanceChanged: 'onOpeingBalanceChanged',
|
||||
},
|
||||
|
||||
/**
|
||||
* Items service.
|
||||
*/
|
||||
items: {
|
||||
onCreated: 'onItemCreated',
|
||||
onEdited: 'onItemEdited',
|
||||
|
||||
Reference in New Issue
Block a user