Archived
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
327e82a4a6
commit
856d4d52a9
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