mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix: Filter financial reports by items, customers or vendors.
This commit is contained in:
@@ -7,6 +7,7 @@ export interface IInventoryValuationReportQuery {
|
||||
asDate: Date | string;
|
||||
numberFormat: INumberFormatQuery;
|
||||
noneTransactions: boolean;
|
||||
itemsIds: number[],
|
||||
};
|
||||
|
||||
export interface IInventoryValuationSheetMeta {
|
||||
|
||||
@@ -7,6 +7,7 @@ export interface IInventoryDetailsQuery {
|
||||
toDate: Date | string;
|
||||
numberFormat: INumberFormatQuery;
|
||||
noneTransactions: boolean;
|
||||
itemsIds: number[]
|
||||
}
|
||||
|
||||
export interface IInventoryDetailsNumber {
|
||||
|
||||
@@ -5,6 +5,7 @@ import {
|
||||
export interface ISalesByItemsReportQuery {
|
||||
fromDate: Date | string;
|
||||
toDate: Date | string;
|
||||
itemsIds: number[],
|
||||
numberFormat: INumberFormatQuery;
|
||||
noneTransactions: boolean;
|
||||
};
|
||||
|
||||
@@ -18,7 +18,9 @@ export interface ITransactionsByCustomersCustomer {
|
||||
}
|
||||
|
||||
export interface ITransactionsByCustomersFilter
|
||||
extends ITransactionsByContactsFilter {}
|
||||
extends ITransactionsByContactsFilter {
|
||||
customersIds: number[];
|
||||
}
|
||||
|
||||
export type ITransactionsByCustomersData = ITransactionsByCustomersCustomer[];
|
||||
|
||||
|
||||
@@ -18,7 +18,9 @@ export interface ITransactionsByVendorsVendor {
|
||||
}
|
||||
|
||||
export interface ITransactionsByVendorsFilter
|
||||
extends ITransactionsByContactsFilter {}
|
||||
extends ITransactionsByContactsFilter {
|
||||
vendorsIds: number[];
|
||||
}
|
||||
|
||||
export type ITransactionsByVendorsData = ITransactionsByVendorsVendor[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user