if(isset($_POST['Submit'])) {} ?> if(isset($_POST['Submit'])) {} ?> $sessionid_free_mobile=$_SESSION["mobile"]; $objitem = mysql_query("SELECT * from shop_user where phone='$sessionid_free_mobile'"); $Fetitem = mysql_fetch_array($objitem); $cust_id=$Fetitem['user_id']; $new_status=$Fetitem['new_status']; $country=$Fetitem['country']; $new_sataus=$Fetitem['new_status']; $new_state=$Fetitem['state']; $Fetitem['name']; $country=$Fetitem['country']; $city=$Fetitem['city']; $address=$Fetitem['address']; $state=$Fetitem['state']; $pin=$Fetitem['postcode']; $new_sataus=$Fetitem['new_status']; $new_state=$Fetitem['state']; $gst=$Fetitem['gst']; $mala_olu=0; if($gst=="") { $mala_olu=1; } if($gst=="GST") { $mala_olu=1; } $dif_cuntry; if($dif_cuntry!='0' || $dif_cuntry!='') { $Updatecart_a = mysql_query("UPDATE shop_cart_admin SET `billing`='0',del_country='$country',del_city='$city',del_address='$address',del_state='$state',del_inp='$pin' where session_id='$browsessionid' "); } ?> $browsessionid=session_id(); $objqrynewsubee = "SELECT SUM(totprice) AS amtTotal FROM shop_cart where session_id='$browsessionid'"; $objResultnewsubee = mysql_query($objqrynewsubee); $Fetchnewww = mysql_fetch_array($objResultnewsubee); $subtotal=$Fetchnewww['amtTotal']; $tx= "Txn" . rand(10000,99999999); $me_kay="iz3S9EJU"; $amount=$subtotal; $fname=$Fetitem['name']; $pinfo=$Fetitem['name']; $email=$Fetitem['email']; $udf5="BOLT_KIT_PHP7"; $salt="BwgrLSotC7"; $hash=hash('sha512', $me_kay.'|'.$me_kay.'|'.$amount.'|'.$pinfo.'|'.$fname.'|'.$email.'|||||'.$udf5.'||||||'.$salt); ?> $_SESSION["userid"]; session_start(); /*if($_SESSION["userid"]=="") { header("location:index.php"); }*/ $sessionid_free=$_SESSION["userid"]; ?> $_SERVER['HTTP_HOST']; $view="/para/doctor-demo/"; $link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . $view; $link; function getCallbackUrl() { $protocol = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://"; return $protocol . $_SERVER['HTTP_HOST'] . $view . 'response.php'; } ?>
S.No | Product Name | Batch No/ Mfg Date |
Weight/Nos. | Rate | Qty | Taxable Value | GST% | CGST | SGST | Total | |
echo $si=$si+1;?> | echo $row_12['name'];?> | echo $rowsss['batchno'];?> | echo $row_12['product_url'];?> | echo $sym;?> $massss=($sg);?> echo $sgxxx=number_format($massss, 2, '.', '');?> | if($new_status==1) { ?>if($x>0) { $freeqty=$rowsss['freeqty']; if($freeqty==0) { $x=$x; } else { $x=$freeqty; } ?> echo ($qty+$x); ?>( echo $qty;?>+ echo $x;?> Free) } else { ?> echo $qty; ?> | } ?> } else { ?>echo $rowsss['qty'];?> | } ?>echo $sym;?> $new_sg;?> $tot_new_price=($sg*$qty); echo $tot_new_price=number_format($tot_new_price, 2, '.', ''); $mas_price_1 +=$tot_new_price; $mal_qty +=$qty; $mal_x +=$x; ?> | $tot_new_price; $gst=($tot_price-$tot_new_price); $new_gst=($gst/2); $tot_new_price_1=number_format($new_gst, 2, '.', ''); $mas_price_2 +=$tot_new_price_1; ?>echo $n_g;?>% | echo $sym;?> $new_sg;?> echo $tot_new_price_1;?> | echo $sym;?> echo $tot_new_price_1;?> $unit_pr;?> | echo $sym;?> echo $tot_price=number_format((float)$tot_price, 2, '.', '');?> |
Total | echo ($subtotal_123_qty+$mal_x);?> | echo $sym;?> echo $mas_price_1;?> | echo $sym;?> echo $mas_price_2;?> | echo $sym;?> echo $mas_price_2;?> | echo $sym;?> echo $subtotal_123_4=number_format((float)$subtotal_123, 2, '.', '');?> | ||||||
Taxable Value : | echo $sym;?> $mas_price_1;?> $Fetchnewww['amtTotal'];?> $off_mal=($mas_price_1-($mas_price_1*($offer/100))); echo $off_mal_1=number_format((float)$off_mal, 2, '.', ''); ?> $Fetchnewww['amtTotal'];?> | ||||||||||
Total CGST : | echo $sym;?> $mas_price_2;?> $Fetchnewww['amtTotal'];?> $off_mal_gst=($mas_price_2-($mas_price_2*($offer/100))); echo $off_mal_gst_1=number_format((float)$off_mal_gst, 2, '.', ''); ?> | ||||||||||
Total SGST : | echo $sym;?> $mas_price_2;?> $Fetchnewww['amtTotal'];?> $off_mal_gst=($mas_price_2-($mas_price_2*($offer/100))); echo $off_mal_gst_1=number_format((float)$off_mal_gst, 2, '.', ''); ?> | ||||||||||
Offer@ echo $offer?>% : | echo $sym;?> $n_off=($s_roun); $n_off=number_format((float)$n_off, 2, '.', '');?> $n_off_mal_ollu=($s_roun_mal_su_ollu); echo $n_off_mal_ollu=number_format((float)$n_off_mal_ollu, 2, '.', '');?> | ||||||||||
Cart Total : | echo $sym;?> $new_tot=($new_tot); echo $new_tot=number_format((float)$new_tot, 2, '.', '');?> | ||||||||||
Shipping : | echo $sym;?> if($contry=="India") { ?> $id; if($id == 36) { $new_kilo_4=80; echo $new_kilo_4=number_format((float)$new_kilo_4, 2, '.', ''); } else { ?> if($id == 37) { $new_kilo_4=120; echo $new_kilo_4=number_format((float)$new_kilo_4, 2, '.', ''); } else { ?> $new_kilo_4=(($new_kilo_6+1)*$courier_fees); echo $new_kilo_4=number_format((float)$new_kilo_4, 2, '.', ''); ?> } } } else { ?> $new_kilo_4; echo $new_kilo_4=number_format((float)$new_kilo_4, 2, '.', ''); ?> } ?> | ||||||||||
Packing Charges : | $idsss=$_REQUEST['id']; ?> echo $sym;?> if($idsss==106) { ?> $packing_charges123=1446; echo $packing_charges123=number_format((float)$packing_charges123, 2, '.', ''); ?> } else { $packing_charges123; echo $packing_charges123=number_format((float)$packing_charges123, 2, '.', ''); } ?> | ||||||||||
Offer@ echo $offer?>% : | echo $sym;?> $n_off=($s_roun); $n_off=number_format((float)$n_off, 2, '.', '');?> $n_off_mal_ollu=($s_roun_mal_su_ollu); echo $n_off_mal_ollu=number_format((float)$n_off_mal_ollu, 2, '.', '');?> | ||||||||||
Total : | echo $sym;?> $grsnt=($Fetchnewww['amtTotal']+$new_kilo_4+$packing_charges123-$n_off); echo $grsnt=number_format((float)$grsnt, 2, '.', '');?> |