diff --git a/invoice.php b/invoice.php index 91f50d93..4c8b9f85 100644 --- a/invoice.php +++ b/invoice.php @@ -30,6 +30,7 @@ if (isset($_GET['invoice_id'])) { $invoice_date = nullable_htmlentities($row['invoice_date']); $invoice_due = nullable_htmlentities($row['invoice_due']); $invoice_amount = floatval($row['invoice_amount']); + $invoice_discount = floatval($row['invoice_discount_amount']); $invoice_currency_code = nullable_htmlentities($row['invoice_currency_code']); $invoice_note = nullable_htmlentities($row['invoice_note']); $invoice_url_key = nullable_htmlentities($row['invoice_url_key']); @@ -424,6 +425,19 @@ if (isset($_GET['invoice_id'])) {
+ + 0) { + ?> + + + + + + @@ -433,13 +447,14 @@ if (isset($_GET['invoice_id'])) { - - 0) { ?> + 0) { ?> +
Discount
Subtotal Tax
Paid
Balance