feat: add bank_name

This commit is contained in:
ValdiANS
2026-05-13 16:25:35 +07:00
parent 9bc5842493
commit 0275e66eda
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -10,6 +10,7 @@ export type BaseCustomer = {
phone: string; phone: string;
email: string; email: string;
account_number: string; account_number: string;
bank_name: string;
}; };
export type Customer = BaseMetadata & BaseCustomer; export type Customer = BaseMetadata & BaseCustomer;
@@ -22,6 +23,7 @@ export type CreateCustomerPayload = {
phone: string; phone: string;
email: string; email: string;
account_number: string; account_number: string;
bank_name: string;
}; };
export type UpdateCustomerPayload = CreateCustomerPayload; export type UpdateCustomerPayload = CreateCustomerPayload;
+2
View File
@@ -16,6 +16,7 @@ export type BaseSupplier = {
account_number: string; account_number: string;
due_date: number; due_date: number;
balance?: number; balance?: number;
bank_name: string;
}; };
export type Supplier = BaseMetadata & BaseSupplier; export type Supplier = BaseMetadata & BaseSupplier;
@@ -45,6 +46,7 @@ export type CreateSupplierPayload = {
account_number: string; account_number: string;
due_date: number; due_date: number;
balance?: number; balance?: number;
bank_name: string;
}; };
export type UpdateSupplierPayload = CreateSupplierPayload; export type UpdateSupplierPayload = CreateSupplierPayload;