mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
refactor: bank rules e2e test cases
This commit is contained in:
@@ -213,7 +213,7 @@ export class ItemsEntriesService {
|
||||
/**
|
||||
* Sets the cost/sell accounts to the invoice entries.
|
||||
*/
|
||||
public setItemsEntriesDefaultAccounts = async (entries: ItemEntry[]) => {
|
||||
public setItemsEntriesDefaultAccounts = async (entries: IItemEntryDTO[]) => {
|
||||
const entriesItemsIds = entries.map((e) => e.itemId);
|
||||
const items = await this.itemModel.query().whereIn('id', entriesItemsIds);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user