mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
Merge pull request #914 from bigcapitalhq/fix-costable-inventory-transactions
fix(server): costable attr of inventory gl entries
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user