Some work on customers view #3

This commit is contained in:
2025-11-04 13:51:31 +01:00
parent 3c2d35f458
commit 82e04acc2c
13 changed files with 154 additions and 51 deletions
+3
View File
@@ -105,6 +105,7 @@ export interface Customer {
customerNr: number | null;
vatId: string | null;
contacts: Contact[];
url?: string;
email?: string;
phone?: string;
billingAddress?: Address;
@@ -112,6 +113,7 @@ export interface Customer {
status: string;
avatar?: string | null;
notes?: string;
logo: string | null;
}
export type CustomerType = Customer
@@ -126,6 +128,7 @@ export function newCustomer(): Customer {
billingAddress: newAddress(),
paymentTerms: newPaymentTerms(),
status: 'active',
logo: null
}
}