Merge pull request #914 from bigcapitalhq/fix-costable-inventory-transactions

fix(server): costable attr of inventory gl entries
This commit is contained in:
Ahmed Bouhuolia
2026-01-26 15:02:35 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ export class AccountTransaction extends BaseModel {
public readonly userId!: number; public readonly userId!: number;
public readonly itemId!: number; public readonly itemId!: number;
public readonly projectId!: number; public readonly projectId!: number;
public readonly costable!: boolean;
public readonly account: Account; public readonly account: Account;
/** /**

View File

@@ -35,7 +35,7 @@ export const transformLedgerEntryToTransaction = (
itemId: entry.itemId, itemId: entry.itemId,
projectId: entry.projectId, projectId: entry.projectId,
// costable: entry.costable, costable: entry.costable,
taxRateId: entry.taxRateId, taxRateId: entry.taxRateId,
taxRate: entry.taxRate, taxRate: entry.taxRate,