<?php 
$PageSecurity = 2;
$_SESSION['modid']=$_REQUEST['modid'];
$_SESSION['frmid']=$_REQUEST['frmid'];
$frmpermission= $px->GetFileAccess($_SESSION['modid'],$_SESSION['frmid'],$_SESSION['ACGRoleId']);
$_SESSION['frmAdd']=$frmpermission[0];
$_SESSION['frmEdit']=$frmpermission[1];
$_SESSION['frmDelete']=$frmpermission[2];
$_SESSION['frmView']=$frmpermission[3];
include('includes/stockcalculation.php');

 ?>
 <h2 align="center"><strong>Shop Floor Process Inspection </strong></h2>
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td> <div style="background:#808000; width:20px; height:20px; float:left; margin:5px;"></div><div style="float:left; padding-top:8px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000;">indicates items tested for QC</div></td>
  </tr>
</table>

<link rel="stylesheet" href="css/new_mxerp.css">
<div class="body_contain">

<div class="tab_div">

<div class="new_tab">
<div class="inside_tab">
	<ul>
			<li><a href="index.php?route=QC/transactions/quality_inspection_index&modid=<?php echo  $_REQUEST['modid']?>&frmid=<?php echo $_REQUEST['frmid']?>&tab=1&type=jobcardpendingqc">Job Card Pending For QC</a></li>
		<li><a href="index.php?route=QC/transactions/quality_inspection_index&modid=<?php  echo $_REQUEST['modid']?>&frmid=<?php echo $_REQUEST['frmid']?>&tab=2&type=jobcardqcdonelist">QC List</a></li>
		<div style="clear:both;"></div>
	</ul>
</div>
</div>
<div style="height:3px;"></div>

<div style="width:100%; ">

	<?php 
	
		if($_REQUEST['tab']==1){
	?>

			<?php
			if($_REQUEST['route']!='' && $_REQUEST['type']!='')
			{
				include($_REQUEST['type'].".php");
			} ?>

	<?php }else if($_REQUEST['tab']==2){
	
			if($_REQUEST['route']!='' && $_REQUEST['type']!='')
			{
				include($_REQUEST['type'].".php");
			} 
	}else{
	include("jobcardpendingqc.php");
	}
	?>
</div>
</div>
</div>







