<?php
if($_REQUEST['action']=='Delete')
{
$del1=DB_query("delete from dbl_dealer_dispatch_details where parentid='".$_REQUEST['id']."'",$db);
$del2=DB_query("delete from dbl_dealer_dispatch_charge where parentid='".$_REQUEST['id']."'",$db);
$del=DB_query("delete from dbl_dealer_dispatch where id='".$_REQUEST['id']."'",$db);
$s->pageLocation('index.php?route=DealerDistrbutions/Transaction/dispatch_processsaleorder_index_data&modid='.$_REQUEST['modid'].'&frmid='.$_REQUEST['frmid'].'');

}
?>
<?php
$table='dbl_enquiry_form';
$action=$_REQUEST['action'];
$daction=$_REQUEST['daction'];
$msgErr='';
$status=true;
 $modid=$_REQUEST['modid'];
$frmid=$_REQUEST['frmid'];
$url="&modid=".$modid."&frmid=".$frmid;
$targetpage="index.php?route=DealerDistrbutions/Transaction/process_order_creations_edit".$url;
$targetpage1="index.php?route=DealerDistrbutions/Transaction/dispatch_processsaleorder_index_data".$url;


?>
<link rel="stylesheet" href="css/new_mxerp.css">
<div class="body_contain">
<div class="tab_div">
<h1>Process  Details</h1>

 <div align="left"> </div>
<br />
 


<?php  include('Viewprocessdispatchindex.php') ?> 
</div></div>