mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
feat(server): wip sale invoice tax rates
This commit is contained in:
@@ -75,6 +75,8 @@ export class CommandSaleInvoiceDTOTransformer {
|
||||
...entry,
|
||||
}));
|
||||
const entries = await composeAsync(
|
||||
// Associate tax rate id from tax code to entries.
|
||||
this.taxDTOTransformer.assocTaxRateIdFromCodeToEntries(tenantId),
|
||||
// Sets default cost and sell account to invoice items entries.
|
||||
this.itemsEntriesService.setItemsEntriesDefaultAccounts(tenantId)
|
||||
)(initialEntries);
|
||||
|
||||
Reference in New Issue
Block a user