query($query); if ($result && $result->num_rows > 0) { $row = $result->fetch_assoc(); } else { echo '
No record found.
'; require_once('includes/footer.php'); exit; } $cus_state = strtolower($row['cus_state']); if ($cus_state == 'intrastate') { $cgst = !empty($row['cgst']) ? $row['cgst'] : 0; $sgst = !empty($row['sgst']) ? $row['sgst'] : 0; $igst = 0; } elseif ($cus_state == 'outerstate') { $cgst = 0; $sgst = 0; $igst = !empty($row['igst']) ? $row['igst'] : 0; } else { $cgst = $sgst = $igst = 0; } ?>

Challan Details

Challan No. Purchase Order No.
Order Date Invoice Date
Customer Name Customer Address
Vehicle No. Driver No.
Delivery Vehicle Date Date of Reach
Date of Unloading Destination
Description Item Description
HSN
Bags Quantity
Quantity Billed Rate
CGST SGST
IGST
Amount Amount in Words
Final Amount
Company Name Company Address
Email Phone
Pincode GST
Bill Book Vendor Invoice
Date Value
Loading Expenses Office Expenses
Total Cost Total Expenses
Lease Expense Fuel Expense
Toll Freight
Road Expense Vehicle Type
Customer State Days Difference
Created By Signature Time