feat(FE): adding report debt supplier report with temporary data types and dummy data

This commit is contained in:
randy-ar
2026-01-11 00:16:12 +07:00
parent a012707bae
commit cdfb59a70b
8 changed files with 1322 additions and 0 deletions
+34
View File
@@ -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;
};