Warehouse Dispatch Details
location.replace('add_warehouse.php')"; }else{ echo ""; } } ?>
3) { $year=$year; } else { $year=$year-1; } $firm=$pf_no; $pos1=strpos($firm,"/"); $firm_code=substr($firm,0,$pos1); //echo "a=".$firm_code; $sql1="SELECT challon_no_new FROM final_dispatch where challon_no_new LIKE '"."DCH-".$firm_code."/"."%' AND challon_no_new LIKE '%".$year."' "; // echo "b=".$sql1; $res1 = @mysqli_query($conn,$sql1); $i=0; while($rows1 = @mysqli_fetch_array($res1)) { $str=$rows1['challon_no_new']; // echo "str=".$str; $pos1=strpos($str,"/"); $pos2=strripos($str,"/"); $ref_no[$i] = substr($str,$pos1+1,$pos2-$pos1-1); //echo "pos=".$ref_no[$i]; $i++; } if($ref_no){ $max = max ($ref_no)+1; } else { $max=1; } $output="DCH-".$firm_code."/".$max."/".$year; // echo $output; $challon_no_new=$output; } ?>
Order Details
Purchase Order No.  
Production File No  
Drawing Details ,
PL NO
Item Description  
Order Qty
Inspected Quantity
Total warehoused Qty
Total Balanced Qty
Warehouse Dispatch Details
Challan No Use New Use Existing
Challan Date
   
Date of Dispatch Pick a date
Quantity
Dispatch Against DP Lot
   
Challan Type Excise checked="checked" value="NON excise" />Non Excise
Inspection :
Packing Details :
Delivery Instruction :
LR No :
Vehicle No :
Mode of Transport :
Transporter :
Agent :
Loading Supervisor :
Contact :
Remarks
Outward Gate Pass
Order Delivery Schedule
0) { $SuppliedQty=$SuppliedQty-$t ; $carry=0; $t=0; } if($carry==0) { $SuppliedQty=$SuppliedQty-$t ; $carry=0; $t=0; } ?>
Lot.NO. Delivery Start Date Delivery End Date Qty Quantity dispatched
 
 
location.href ='flexi_warehouse.php';";?>