mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat(reports): inventory valuation report.
feat(reports): sales by items report. feat(reports): purchases by items report.
This commit is contained in:
@@ -98,6 +98,7 @@ export default class JournalCommands {
|
||||
: entry.costAccountId,
|
||||
index: index + 2,
|
||||
itemId: entry.itemId,
|
||||
itemQuantity: entry.quantity,
|
||||
});
|
||||
this.journal.debit(debitEntry);
|
||||
});
|
||||
@@ -416,6 +417,7 @@ export default class JournalCommands {
|
||||
note: entry.description,
|
||||
index: index + 2,
|
||||
itemId: entry.itemId,
|
||||
itemQuantity: entry.quantity,
|
||||
});
|
||||
this.journal.credit(incomeEntry);
|
||||
});
|
||||
@@ -465,6 +467,8 @@ export default class JournalCommands {
|
||||
account: entry.item.sellAccountId,
|
||||
note: entry.description,
|
||||
index: index + 2,
|
||||
itemId: entry.itemId,
|
||||
itemQuantity: entry.quantity,
|
||||
});
|
||||
this.journal.credit(incomeEntry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user