mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
45 lines
931 B
TypeScript
45 lines
931 B
TypeScript
import {
|
|
INumberFormatQuery,
|
|
IFormatNumberSettings,
|
|
} from './FinancialStatements';
|
|
|
|
export interface IInventoryValuationReportQuery {
|
|
asDate: Date | string;
|
|
numberFormat: INumberFormatQuery;
|
|
noneTransactions: boolean;
|
|
itemsIds: 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
|
|
} | {};
|
|
|