Skip to content

Commit 503e99e

Browse files
authored
Merge pull request #82 from wbbly/dev
HOT FIX | duplicate invoice fix
2 parents 7a5a354 + 655debf commit 503e99e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/invoice/invoice.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export class InvoiceService {
557557
due_date: "${dueDate}"
558558
invoice_projects: { data: [${projects}]}
559559
total: ${total}
560-
discount: ${discount}
560+
discount: ${discount ? discount : 0}
561561
sub_total: ${sumSubTotal}
562562
tax_total: ${sumTaxTotal}
563563
invoice_vendor: $invoice_vendor}

0 commit comments

Comments
 (0)