diff --git a/invoice.php b/invoice.php index 6e87a880..fb25387c 100644 --- a/invoice.php +++ b/invoice.php @@ -165,6 +165,8 @@ if(isset($_GET['invoice_id'])){ $invoice_item_subtotal = $row['invoice_item_price']; $invoice_item_tax = $row['invoice_item_tax']; $invoice_item_total = $row['invoice_item_total']; + $total_tax = $invoice_item_tax + $total_tax; + $sub_total = $invoice_item_price * $invoice_item_quantity + $sub_total; ?> @@ -204,7 +206,7 @@ if(isset($_GET['invoice_id'])){ SubTotal - $ + $ @@ -214,7 +216,7 @@ if(isset($_GET['invoice_id'])){ Tax - $ + $