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:
1 parent
f264459435
commit
d6e58a762c
2 files changed
+24
-37
No files matched your search
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