mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
add server to monorepo.
This commit is contained in:
47
packages/server/src/interfaces/IInventoryValuationSheet.ts
Normal file
47
packages/server/src/interfaces/IInventoryValuationSheet.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
import { INumberFormatQuery } from './FinancialStatements';
|
||||
|
||||
export interface IInventoryValuationReportQuery {
|
||||
asDate: Date | string;
|
||||
numberFormat: INumberFormatQuery;
|
||||
noneTransactions: boolean;
|
||||
noneZero: boolean;
|
||||
onlyActive: boolean;
|
||||
itemsIds: number[];
|
||||
|
||||
warehousesIds?: number[];
|
||||
branchesIds?: number[];
|
||||
}
|
||||
|
||||
export interface IInventoryValuationSheetMeta {
|
||||
organizationName: string;
|
||||
baseCurrency: string;
|
||||
isCostComputeRunning: boolean;
|
||||
}
|
||||
|
||||
export interface IInventoryValuationItem {
|
||||
id: number;
|
||||
name: string;
|
||||
code: string;
|
||||
valuation: number;
|
||||
quantity: number;
|
||||
average: number;
|
||||
valuationFormatted: string;
|
||||
quantityFormatted: string;
|
||||
averageFormatted: string;
|
||||
currencyCode: string;
|
||||
}
|
||||
|
||||
export interface IInventoryValuationTotal {
|
||||
valuation: number;
|
||||
quantity: number;
|
||||
|
||||
valuationFormatted: string;
|
||||
quantityFormatted: string;
|
||||
}
|
||||
|
||||
export type IInventoryValuationStatement =
|
||||
| {
|
||||
items: IInventoryValuationItem[];
|
||||
total: IInventoryValuationTotal;
|
||||
}
|
||||
| {};
|
||||
Reference in New Issue
Block a user