diff --git a/119/view-bills.php b/119/view-bills.php
index 9764b36..198c86f 100644
--- a/119/view-bills.php
+++ b/119/view-bills.php
@@ -45,7 +45,7 @@ return array($totalGST,$totalCost,$totalAmount);
@@ -81,6 +81,7 @@ if(isset($_GET['payment'])){
$GSTAmount =0;
$totalTax =0;
$totalGSTlistedBills=0;
+
$query = "SELECT * FROM `" . SHOP_ID . "_bill` WHERE `payment_mode` != '0' " . $between . " ORDER BY `id` DESC";
$result = mysqli_query($link, $query);
while ($row = mysqli_fetch_assoc($result)) {
@@ -198,16 +199,19 @@ if(isset($_GET['payment'])){
?>
+
+ Total Bill: ', $total ;
- if(isset($_SESSION['email']) && $_SESSION['email']=='mousumi@fashionavenueonline.com' || $_SESSION['email']=='user@fashionavenue.com'){
- echo ', Cost: ', $total_cost , ', Profit: ', $total-$total_cost,' Total GST: ', $totalGSTlistedBills ;
- }
- echo ''; ?>
-
+ echo '
Total Bill: ', $total ;
+ if(isset($_SESSION['email']) && $_SESSION['email']=='mousumi@fashionavenueonline.com' || $_SESSION['email']=='user@fashionavenue.com'){
+ echo ', Cost: ', $total_cost , ', Profit: ', $total-$total_cost,' Total GST: ', $totalGSTlistedBills ;
+ }
+ echo '
'; ?>
+ 1)): ?>
Download
+