diff --git a/assets/ave_logo.png b/assets/ave_logo.png index e69de29..bcafff3 100644 Binary files a/assets/ave_logo.png and b/assets/ave_logo.png differ diff --git a/config/_config.php b/config/_config.php index 0d74349..5566577 100644 --- a/config/_config.php +++ b/config/_config.php @@ -2,8 +2,8 @@ define("PWD", getcwd()); session_start(); define("MYSQL_HOST", "localhost"); - define("MYSQL_USER", "fashionavenue__"); - define("MYSQL_DB", "fashionavenue__"); - define("MYSQL_PASS", "ShuQND8[bJDGEfjU"); + define("MYSQL_USER", "suvo_billing"); + define("MYSQL_DB", "suvo_billing"); + define("MYSQL_PASS", "Simple2pass"); define("SHOP_ID", "119"); ?> diff --git a/print-bill.php b/print-bill.php index 9b20cde..4530123 100644 --- a/print-bill.php +++ b/print-bill.php @@ -81,7 +81,7 @@ if (isset ($_POST['phone'])) {

MGM Enterprises

- GST: 19AJSPB8539J1ZJ + 16/120/57, Golbazar, Ashoknagar, Habra, 743222 +91 9907218172 @@ -119,7 +119,7 @@ if (isset ($_POST['phone'])) { SL Product - GST + Price Total @@ -139,18 +139,18 @@ if (isset ($_POST['phone'])) { $total = $total + $row['price']; - if ($row['price'] <= 1000) { - $GSTPercentage = 105; - } - if ($row['price'] >= 1000) { - $GSTPercentage = 112; - } else { - //Future Billing Amount Conditions - } + // if ($row['price'] <= 1000) { + // $GSTPercentage = 105; + // } + // if ($row['price'] >= 1000) { + // $GSTPercentage = 112; + // } else { + // //Future Billing Amount Conditions + // } - $GSTAmount = round($row['price'] / $GSTPercentage * 100); - $totalTax = $totalTax + $row['price'] - $GSTAmount; - $totalPrice = $totalPrice + $GSTAmount; + // $GSTAmount = round($row['price'] / $GSTPercentage * 100); + // $totalTax = $totalTax + $row['price'] - $GSTAmount; + // $totalPrice = $totalPrice + $GSTAmount; // echo $GSTAmount; // $withGST = round($row['price'] + $GSTAmount); @@ -169,11 +169,11 @@ if (isset ($_POST['phone'])) { ?> - + - + @@ -189,20 +189,16 @@ if (isset ($_POST['phone'])) { // echo ' Print '; ?> -

Total Tax:


- SGST:  - , - - CGST:  - - + SGST: , + CGST: 

-
+ -->