Fixed a regression where customer and contacts of an invoice haven’t been set when opening an invoice for editing as these fields aren't in the summary that now get’s loaded with inertia
This commit is contained in:
Vendored
+2
@@ -149,6 +149,7 @@ export interface Invoice {
|
||||
serviceEndDate: Date | null;
|
||||
isRecurring: boolean;
|
||||
isPartialService: boolean;
|
||||
customerId?: number | null;
|
||||
customer?: Customer | null;
|
||||
paymentStatus: PaymentStatus;
|
||||
totalAmount: number;
|
||||
@@ -180,6 +181,7 @@ export function newInvoice(): Invoice {
|
||||
serviceEndDate: date,
|
||||
isRecurring: false,
|
||||
isPartialService: false,
|
||||
customerId: 0,
|
||||
customer: newCustomer(),
|
||||
paymentStatus: "draft",
|
||||
totalAmount: 0,
|
||||
|
||||
Reference in New Issue
Block a user