mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 22:05:45 +00:00
refactor(FE): Adapt customer payment report types and exports
This commit is contained in:
+4
-9
@@ -1,15 +1,13 @@
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
import { BaseCustomer } from '@/types/api/master-data/customer';
|
||||
import { BaseProduct } from '@/types/api/master-data/product';
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
|
||||
export type CustomerPaymentRow = {
|
||||
no: number;
|
||||
id: number;
|
||||
do_date: string;
|
||||
payment_date: string;
|
||||
realization_date: string;
|
||||
aging: number;
|
||||
aging_day: number | null;
|
||||
reference: string;
|
||||
vehicle_plate: string;
|
||||
vehicle_plate: string[];
|
||||
qty: number;
|
||||
weight: number;
|
||||
average_weight: number;
|
||||
@@ -23,7 +21,6 @@ export type CustomerPaymentRow = {
|
||||
notes: string;
|
||||
pickup_info: string;
|
||||
sales_marketing: string;
|
||||
product?: BaseProduct;
|
||||
};
|
||||
|
||||
export type CustomerPaymentSummary = {
|
||||
@@ -40,8 +37,6 @@ export type CustomerPaymentSummary = {
|
||||
|
||||
export type CustomerPaymentReport = BaseMetadata & {
|
||||
customer: BaseCustomer;
|
||||
customer_npwp: string;
|
||||
customer_address: string;
|
||||
rows: CustomerPaymentRow[];
|
||||
summary: CustomerPaymentSummary;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user