refactor(FE): Update customer payment types and exports

This commit is contained in:
rstubryan
2026-01-14 22:17:24 +07:00
parent a72fbec5ce
commit f1dba4012a
4 changed files with 16 additions and 29 deletions
+3 -4
View File
@@ -7,7 +7,7 @@ export type CustomerPaymentRow = {
trans_date: string;
delivery_date: string | null;
reference: string;
vehicle_numbers: string;
vehicle_numbers: string[];
qty: number;
weight: number;
average_weight: number;
@@ -16,16 +16,15 @@ export type CustomerPaymentRow = {
total_price: number;
payment_amount: number;
accounts_receivable: number;
aging_day: number;
aging_day: number | null;
status: string;
pickup_info: string;
pickup_info: string[];
sales_person: string;
};
export type CustomerPaymentSummary = {
total_qty: number;
total_weight: number;
total_initial_amount: number;
total_final_amount: number;
total_grand_amount: number;
total_payment: number;