UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/
product_images
/
sym
/
root
/
var
/
www
/
stbilling
/
cpanel
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
get_party.php
<?php require_once "../config.php"; $hdid = $_POST['id']; $billno=$_POST['tempbillno']; $query = "Select * from v_partyopeningbalance where accountmasterid='".$hdid."' and identifier=2 and status='$notdeleted'"; $result = mysqli_query($conn, $query); while ($row = mysqli_fetch_array($result)) { $data["hdid"] = $row["accountmasterid"]; $data["partyname"] = $row["partyname"]; $data["mobile"] = $row["mobile"]; $data["email"] = $row["email"]; $data["address1"] = $row["address1"]; $data["statename"] = $row["statename"]; $data["districtname"] = $row["districtname"]; $data["gstinno"] = $row["tinno"]; $data["stcode"] = $row["stateid"]; $data["distcode"] = $row["districtid"]; } $query = "select * from temptransactiondetailstb where mainvoucherno='".$billno."' and isdeleted='" .$notdeleted."' "; $result = mysqli_query($conn, $query); $cnt = intval(mysqli_num_rows($result)); if ($cnt>0) { if($data["statename"]=="Uttar Pradesh") { $query = "select * from temptransactiondetailstb where mainvoucherno='".$billno."' and igstpercent>0 and isdeleted='" .$notdeleted."' "; $result = mysqli_query($conn, $query); $cnt1 = intval(mysqli_num_rows($result)); if($cnt1>0) { $query= "update temptransactiondetailstb set cgstpercent=igstpercent/2,cgstamt=taxablevalue*(igstpercent/2)/100, sgstpercent=igstpercent/2,sgstamt=taxablevalue*(igstpercent/2)/100 where mainvoucherno='".$billno."' and isdeleted='" .$notdeleted."' "; $result = mysqli_query($conn, $query); if($result==true) { $query= "Update temptransactiondetailstb set igstpercent=0,igstamt=0 where mainvoucherno='".$billno."' and isdeleted='" .$notdeleted."'"; $result = mysqli_query($conn, $query); } } } else { $query = "select * from temptransactiondetailstb where mainvoucherno='".$billno."' and cgstpercent>0 and isdeleted='" .$notdeleted."' "; $result = mysqli_query($conn, $query); $cnt2 = intval(mysqli_num_rows($result)); if($cnt2>0) { $query= " update temptransactiondetailstb set igstpercent=(cgstpercent+sgstpercent), igstamt=taxablevalue*(cgstpercent+sgstpercent)/100 where mainvoucherno='".$billno."' and isdeleted='" .$notdeleted."' "; $result = mysqli_query($conn, $query); if($result==true) { $query= "update temptransactiondetailstb set cgstpercent=0,cgstamt=0,sgstpercent=0,sgstamt=0 where mainvoucherno='".$billno."' and isdeleted='" .$notdeleted."'"; $result = mysqli_query($conn, $query); } } } } echo json_encode($data); ?>
Copyright © 2025 - UnknownSec