mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
feat(FE): adding report debt supplier report with temporary data types and dummy data
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
import { Area } from '@/types/api/master-data/area';
|
||||
import { Supplier } from '@/types/api/master-data/supplier';
|
||||
import { Warehouse } from '@/types/api/master-data/warehouse';
|
||||
|
||||
export type DebtSupplier = BaseMetadata & {
|
||||
supplier: Supplier;
|
||||
rows: DebtRow[];
|
||||
total: DebtTotal;
|
||||
};
|
||||
|
||||
export type DebtRow = {
|
||||
pr_number: string;
|
||||
po_number: string;
|
||||
pr_date: string;
|
||||
po_date: string;
|
||||
aging: number;
|
||||
area: Area;
|
||||
warehouse: Warehouse;
|
||||
due_date: string;
|
||||
due_status: string;
|
||||
total_price: number;
|
||||
payment_price: number;
|
||||
debt_price: number;
|
||||
status: string;
|
||||
travel_number: string;
|
||||
};
|
||||
|
||||
export type DebtTotal = {
|
||||
aging: number;
|
||||
total_price: number;
|
||||
payment_price: number;
|
||||
debt_price: number;
|
||||
};
|
||||
Reference in New Issue
Block a user