fix(server): costable attr of inventory gl entries

This commit is contained in:
Ahmed Bouhuolia
2026-01-26 15:00:17 +02:00
parent a92d6112d9
commit d9ae51027e
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 itemId!: number;
public readonly projectId!: number;
public readonly costable!: boolean;
public readonly account: Account;
/**

View File

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