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']; if($gst=="GST" || $Fetitem['gst_no']!='') { $gst_no = $Fetitem['gst_no']; }else{ $gst_no = 'NOT APPLICABLE'; } $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 |
HSN | Weight/Nos. | Rate | Qty | Taxable Value | GST% | CGST | SGST | Total | |
echo $si=$si+1;?> | echo $row_12['name'];?> | echo $rowsss['batchno'];?> | echo $hsn;?> | echo $row_12['product_url'];?> | //echo $sym;?> $massss=($sg);?> if($pos === false){ echo $sgxxx=number_format($massss, 2, '.', ''); }else{ echo $sgxxx=number_format($unit_pr, 2, '.', ''); } ?> | if($new_status==1 && $cust_id!='11363') { echo 'my name'.$cust_id; ?>if($x>0 ) { $freeqty=$rowsss['freeqty']; if($freeqty==0) { $x=$x; } else { $x=$freeqty; } ?> //echo ($qty+$x); ?> echo $qty;?>+ echo $x;?> } else { ?> echo $qty; ?> | } ?> } else { ?>echo $rowsss['qty'];?> | } if($pos === false){ ?>//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; if($pos === false){ ?>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 | if($pos === false){ echo ($subtotal_123_qty+$mal_x); }else{ echo ($subtotal_123_qty+$subtotal_123_freeqty); } ?> | //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 { ?> $adc_date = date('Y-m-d', strtotime($rows_order['order_date_time'])); $get_adc = mysqli_query($conn, "select * from tbl_adc_courier_charges where '$adc_date' >= date(start_date) and '$adc_date'<=date(end_date)"); $set_adc = mysqli_fetch_array($get_adc, MYSQLI_ASSOC); if($weight_shift !=0){ $int_weight=($tot_weight_2/1000); $get_ship = mysqli_query($conn, "select * from shipping_charges where chart_id='".$set_adc['id']."'"); while($sel_ship = mysqli_fetch_array($get_ship, MYSQLI_ASSOC)){ if($int_weight <= $sel_ship['weight']){ $tot_ship = $sel_ship['total']; break; } } echo $new_kilo_4=number_format((float)$tot_ship, 2, '.', ''); }else{ $new_kilo_4 = 0; } ?> } ?> | |||||||||||
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, '.', '');?> |