<!DOCTYPE html PUBLIC h"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
    <script type="text/javascript" src="jquery.min.js"></script>
<SCRIPT language="javascript">
$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall").click(function () {
          $('.case').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case").click(function(){
 
        if($(".case").length == $(".case:checked").length) {
            $("#selectall").attr("checked", "checked");
        } else {
            $("#selectall").removeAttr("checked");
        }
 
    });
});



$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall1").click(function () {
          $('.case1').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case1").click(function(){
 
        if($(".case1").length == $(".case1:checked").length) {
            $("#selectall1").attr("checked", "checked");
        } else {
            $("#selectall1").removeAttr("checked");
        }
 
    });
});

$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall2").click(function () {
          $('.case2').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case2").click(function(){
 
        if($(".case2").length == $(".case2:checked").length) {
            $("#selectall2").attr("checked", "checked");
        } else {
            $("#selectall2").removeAttr("checked");
        }
 
    });
});

$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall3").click(function () {
          $('.case3').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case3").click(function(){
 
        if($(".case3").length == $(".case3:checked").length) {
            $("#selectall3").attr("checked", "checked");
        } else {
            $("#selectall3").removeAttr("checked");
        }
 
    });
});

$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall4").click(function () {
          $('.case4').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case4").click(function(){
 
        if($(".case4").length == $(".case4:checked").length) {
            $("#selectall4").attr("checked", "checked");
        } else {
            $("#selectall4").removeAttr("checked");
        }
 
    });
});

$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall5").click(function () {
          $('.case5').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case5").click(function(){
 
        if($(".case5").length == $(".case5:checked").length) {
            $("#selectall5").attr("checked", "checked");
        } else {
            $("#selectall5").removeAttr("checked");
        }
 
    });
});


$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall6").click(function () {
          $('.case6').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case6").click(function(){
 
        if($(".case6").length == $(".case6:checked").length) {
            $("#selectall6").attr("checked", "checked");
        } else {
            $("#selectall6").removeAttr("checked");
        }
 
    });
});


$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall7").click(function () {
          $('.case7').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case7").click(function(){
 
        if($(".case7").length == $(".case7:checked").length) {
            $("#selectall7").attr("checked", "checked");
        } else {
            $("#selectall7").removeAttr("checked");
        }
 
    });
});


$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall8").click(function () {
          $('.case8').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case8").click(function(){
 
        if($(".case8").length == $(".case8:checked").length) {
            $("#selectall8").attr("checked", "checked");
        } else {
            $("#selectall8").removeAttr("checked");
        }
 
    });
});






</SCRIPT>



<script>
function showuser(str)
{
if (str=="")
  {
  document.getElementById("select2").innerHTML="";
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()                                                                                                                                           
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("select2").innerHTML=xmlhttp.responseText;
    }
  }
xmlhttp.open("GET","getuser.php?q="+str,true);
xmlhttp.send();
}
</script> 





</head>
<body>
<? session_start(); 
//updating the useracces Details Starts Here!.......................
$emp_name=$_GET["select2"];
$brcode=$_GET["select1"];

include("../opendb.php");
$result = mysqli_query($db,"SELECT * FROM useraccess WHERE user_name='$emp_name' and br_code='$brcode' ");
$dt=time("hh-mm");
//echo "SELECT * FROM useraccess WHERE user_name='$emp_name' and br_code='$brcode' ";
while($row = mysqli_fetch_array($result))
  {
  //Assigns key for each fields to show current status of employee Rights
 if($row['supplier']==1)
 {$keyadd_new_cust="checked";}
 if($row['financer']==1)
 {$keysales_reporting="checked";}
 if($row['branch']==1)
 {$keyprod_quot="checked";}
 if($row['advance_receipt']==1)
 {$keyunmanaged_quotation_sales="checked";}
 if($row['op_stock']==1) 
 {$keyself_analysis_sales="checked";}
 if($row['order_form']==1)
 {$keyservice_reporting="checked";}
 if($row['sea_order_form']==1)
 {$keyservice_quotation="checked";}
 if($row['report']==1)
 {$keyunmanaged_quotation_service="checked";}
 if($row['list_in_active']==1)
 {$keyselfanalysis_service="checked";}
 if($row['purchase_order']==1)
 {$keyproduct_inward="checked";}
 if($row['vehicle_purchase']==1)
 {$keysend_to_service="checked";}
 if($row['purchase_return']==1)
 {$keyreceiving_after_service="checked"; }
 if($row['inv_type_master']==1)
 {$keyadd_supplier="checked";}
 if($row['inv_vehicle']==1)
 {$keysend_purc_request="checked";}
 if($row['sea_invoice']==1)
 {$keysales_report="checked";}
 if($row['sales_returns_veh']==1)
 {$keyservice_report="checked";}
 if($row['veh_stock_report']==1)
 {$keycompany_visited_reports="checked";}
 if($row['veh_stock_repo_dw']==1)
 {$keyfollowup_and_pending="checked";}
 if($row['stock_ledger']==1)
 {$keyview_customers="checked";}
 if($row['purchase_register']==1)
 {$keyview_distributers="checked";}
 if($row['sales_register']==1)
 {$keyview_employees="checked";}
 if($row['pur_ret_register']==1)
 {$keyview_suppliers="checked";}
 if($row['sales_ret_register']==1)
 {$keyadd_designation="checked";}
 if($row['stock_trans_in_reg']==1)
 {$keyunit_master="checked";}
 if($row['stock_trans_out_reg']==1)
{$keytax_master="checked";}
 if($row['credit_note_reg']==1)
 {$keytarget_master="checked";}
 if($row['cred_note_reg_spares']==1)
 {$keyprefix_master="checked";}
 if($row['debit_note']==1)
 {$keyadmin_password_change="checked";}
 if($row['cr_note_dis_allow']==1)
 {$keyset_customer_password="checked";}
 if($row['service_call']==1)
 {$keyuser_level_accessibility="checked";}
  if($row['veh_stock_repo']==1)
 {$keyupdate_user="checked";}
 if($row['stock_trans_in']==1)
 {$keyadd_employee="checked";}
 if($row['stock_trans_out']==1)
 {$keycust_emp="checked";}
 if($row['corporate']==1)
 {$keycust_mail="checked";}
 if($row['model_master']==1)
 {$keygroup_mast="checked";}
 if($row['conf_master']==1)
 {$keydep_mast="checked";}
 if($row['segment_master']==1)
 {$keyre_alot="checked";}	
 if($row['engine_master']==1)
 {$jcard_issue="checked";}
 if($row['service_report']==1)
 {$prefix_master="checked";}
 if($row['serv_history']==1)
 {$admin_pass_change="checked";}
 if($row['inq_source']==1)
 {$set_cust_pass="checked";}
 if($row['prospect']==1)
 {$keyprospect_master="checked";}
 if($row['customer']==1)
 {$keycustomer="checked";}
 if($row['term_condition']==1)
 {$keyterm_condition="checked";}
 if($row['transport']==1)
 {$keytransport="checked";}
 if($row['cust_list_all']==1)
 {$keycust_list_all="checked";}    
 if($row['cust_list_credit']==1)
 {$keycust_list_credit="checked";}
 if($row['upload_file']==1)
 {$keyupload_file="checked";}   
 if($row['upload_min_stock']==1)
 {$keyupload_min_stock="checked";} 
 if($row['sea_spare']==1)
 {$keysea_spare="checked";}   
if($row['change_engine']==1)
 {$keychange_engine="checked";}   
 if($row['chk_dup_ledger']==1)
 {$keychk_dup_ledger="checked";}
  if($row['agewise_spare_stock']==1)
 {$keyagewise_spare_stock="checked";}
 if($row['stock_adj']==1)
 {$keystock_adj="checked";} 
 if($row['jcard_issue']==1)
 {$keyjcard_issue1="checked";}                    
 
   /*`sales_report`, `service_report`, `company_visited_reports`, `followup_and_pending`, `view_customers`, `view_distributers`, `view_employees`, `ta_settings`, `add_designation`, `units`, `tax_master`, `target_master`, `prefix_master`, `admin_password_change`, `set_customer_password`, `user_level_accessibility`, `update_user_privilege`, `add_employee`*/
  }

if(isset($_GET[update]))
{
$user_id=0;
$add_new_cust=0;
$sales_reporting=0;
$prod_quotation=0;
$checkbox15=0;
$unman_quotat_sales=0;
$self_analysis_sales=0;
$service_reporting=0; 
$service_quotation=0;
$unman_quotat_service=0;
$self_analysis_service=0;
$product_inward=0;
$send_to_service=0;
$receiving_after_service=0;
$product_outward=0;
$product_quotation=0;
$quotation_modification_p=0;
$quotation_modification_s=0;
$edit_unmanaged_quotation=0;
$customer_request_p=0;
$customer_request_s=0;
$quotation_search=0;
$sales_search=0;
$service_search=0;
$send_mail_group=0;
$send_greetings_group=0;
$create_mailing_label=0;
$sales_n_service_allotment=0;
$send_sms=0;
$send_sms_g=0;
$add_supp=0;
$add_product_details=0;
$send_purc_req=0;
$sales_report=0;
$service_report=0;
$comp_visit_report=0;
$follow_up=0;
$view_cust=0;
$view_dist=0;
$view_emp=0;
$view_supp=0;
$ta_master=0;
$desig_master=0;
$unit_master=0;
$tax_master=0;
$target_master=0;
$prefix_master=0;
$admin_pass_change=0;
$set_cust_pass=0;
$user_level_acess=0;
$update_user=0;
$add_emp=0; 
$jcard_issue=0;
$checkbox53=0;
$checkbox54=0;
$checkbox55=0;
//Assign Values Starts Here!.......................
$user_name=$_REQUEST[emp_name];
if($_REQUEST[checkbox1]==1)
{
$add_new_cust=1;
} 
if($_REQUEST[checkbox2]==1)
{
$sales_reporting=1;
}
if($_REQUEST[checkbox3]==1)
{
$prod_quotation=1;
}
if($_REQUEST[checkbox4]==1)
{
$unman_quotat_sales=1;
}
if($_REQUEST[checkbox5]==1)
{
$self_analysis_sales=1;
}
if($_REQUEST[checkbox6]==1)
{
$service_reporting=1;
}
if($_REQUEST[checkbox7]==1)
{
$service_quotation=1;
};
if($_REQUEST[checkbox8]==1)
{
$unman_quotat_service=1;
}
if($_REQUEST[checkbox9]==1)
{
$self_analysis_service=1;
}
if($_REQUEST[checkbox10]==1)
{
$product_inward=1;
}
if($_REQUEST[checkbox11]==1)
{
$send_to_service=1;
}
if($_REQUEST[checkbox12]==1)
{
$receiving_after_service=1;
}
if($_REQUEST[checkbox13]==1)
{
$product_outward=1;
}
if($_REQUEST[checkbox14]==1)
{
$product_quotation=1;
}
if($_REQUEST[checkbox15]==1)
{
$checkbox15=1;
}
if($_REQUEST[checkbox16]==1)
{
$quotation_modification_p=1;
}
if($_REQUEST[checkbox17]==1)
{
$quotation_modification_s=1;
}
if($_REQUEST[checkbox18]==1)
{
$edit_unmanaged_quotation=1;
}
if($_REQUEST[checkbox20]==1)
{
$customer_request_p=1;
}
if($_REQUEST[checkbox21]==1)
{
$customer_request_s=1;
}
if($_REQUEST[checkbox22]==1)
{
$quotation_search=1;
}
if($_REQUEST[checkbox23]==1)
{
$sales_search=1;
}
if($_REQUEST[checkbox24]==1)
{
$service_search=1;
}
if($_REQUEST[checkbox25]==1)
{
$send_mail_group=1;
}
if($_REQUEST[checkbox26]==1)
{
$send_greetings_group=1;
}
if($_REQUEST[checkbox27]==1)
{
$create_mailing_label=1;
}
if($_REQUEST[checkbox28]==1)
{
$sales_n_service_allotment=1;
}
if($_REQUEST[checkbox30]==1)
{
$send_sms=1;
}
if($_REQUEST[checkbox31]==1)
{
$send_sms_g=1;
}
if($_REQUEST[checkbox32]==1)
{
$add_supp=1;
} 
if($_REQUEST[checkbox33]==1)
{
$add_product_details=1;
}
if($_REQUEST[checkbox34]==1)
{
$send_purc_req=1;
}
if($_REQUEST[checkbox35]==1)
{
$sales_report=1;
}
if($_REQUEST[checkbox36]==1)
{
$service_report=1;
}
if($_REQUEST[checkbox37]==1)
{
$comp_visit_report=1;
}
if($_REQUEST[checkbox38]==1)
{
$follow_up=1;
}
if($_REQUEST[checkbox39]==1)
{

$view_cust=1;
}
if($_REQUEST[checkbox40]==1)
{
$view_dist=1;
}
if($_REQUEST[checkbox41]==1)
{
$view_emp=1;
}
if($_REQUEST[checkbox42]==1)
{
$view_supp=1;
}
if($_REQUEST[checkbox43]==1)
{
$ta_master=1;
}
if($_REQUEST[checkbox44]==1)
{
$desig_master=1;
}
if($_REQUEST[checkbox45]==1)
{
$unit_master=1;
}
if($_REQUEST[checkbox46]==1)
{
$tax_master=1;
}
if($_REQUEST[checkbox47]==1)
{
$target_master=1;
}
if($_REQUEST[checkbox48]==1)
{
$prefix_master=1;
}
if($_REQUEST[checkbox49]==1)
{
$admin_pass_change=1;
}
if($_REQUEST[checkbox50])
{
$set_cust_pass=1;
}
if($_REQUEST[checkbox51]==1)
{
$user_level_acess=1;
}
if($_REQUEST[checkbox52]==1)
{
$update_user=1;
}
if($_REQUEST[checkbox53]==1)
{
$add_emp=1;
}
if($_REQUEST[checkbox54]==1)
{
$jcard_issue=1;
}
if($_REQUEST[checkbox55]==1)
{
$checkbox53=1;
}
if($_REQUEST[checkbox56]==1)
{
$checkbox54=1;
}
if($_REQUEST[checkbox57]==1)
{
$checkbox55=1;
}

$sql="UPDATE useraccess SET supplier ='$add_new_cust', financer='$sales_reporting',branch='$prod_quotation',advance_receipt='$unman_quotat_sales', op_stock='$self_analysis_sales',order_form='$service_reporting',sea_order_form='$service_quotation', list_in_active='$self_analysis_service',purchase_order='$product_inward',vehicle_purchase='$send_to_service', purchase_return='$receiving_after_service',inv_type_master='$product_outward', inv_vehicle='$product_quotation', sea_invoice='$checkbox15', sales_returns_veh='$quotation_modification_p', veh_stock_report='$quotation_modification_s', veh_stock_repo_dw='$edit_unmanaged_quotation', stock_ledger='$customer_request_p', purchase_register='$customer_request_s',sales_register='$quotation_search', pur_ret_register='$sales_search', sales_ret_register='$service_search', stock_trans_in_reg='$send_mail_group', stock_trans_out_reg='$send_greetings_group', credit_note_reg='$create_mailing_label', cred_note_reg_spares='$sales_n_service_allotment', debit_note='$send_sms', cr_note_dis_allow='$send_sms_g', service_call='$add_supp' , veh_stock_repo='$add_product_details', stock_trans_in='$send_purc_req', stock_trans_out='$sales_report',corporate='$service_report', model_master='$comp_visit_report',conf_master='$follow_up',segment_master='$view_cust', engine_master='$view_dist',service_report='$view_emp', serv_history='$view_supp', inq_source='$ta_master', prospect='$desig_master', customer='$unit_master', term_condition='$tax_master', transport='$target_master', cust_list_all='$prefix_master', cust_list_credit='$admin_pass_change',upload_file='$set_cust_pass',upload_min_stock='$user_level_acess',sea_spare = '$update_user',change_engine='$add_emp',chk_dup_ledger='$jcard_issue',agewise_spare_stock='$checkbox53',stock_adj='$checkbox54',jcard_issue ='$checkbox55' WHERE user_name = '$emp_name' and br_code='$brcode'";
//$sql="UPDATE useraccess SET supplier ='$add_new_cust', financer='$sales_reporting',branch='$prod_quotation',advance_receipt='$unman_quotat_sales', op_stock='$self_an_sales',order_form='$service_reporting',sea_order_form='$service_quotation', report='$unman_quotat_service',list_in_active='$self_analysis_service',purchase_order='$product_inward',vehicle_purchase='$send_to_service', purchase_return='$receiving_after_service' WHERE user_name = '$emp_name' and br_code='$brcode'";
echo $sql;

mysqli_query($db,$sql);
}
   ?>		
<form method="get" action="">
<table>
<tr>
<td><b>Branch:</b></td><td><select name="select1" id="select1" onChange="showuser(this.value)" style='width:100px;'>
<option >-Select-</option>
  <?
  $re1=mysqli_query($db,"select distinct brcode from bruser order by brcode")or die(mysqli_error($db));
  while($br_row=mysqli_fetch_row($re1))
{ 
if($br_row[0]== $_GET['select1'])
$selected = "selected=\"selected\"";
 else
        $selected = "";
    echo "<option value=\"".$br_row[0]."\" $selected>".$br_row[0]."</option>\n ";
}
?>
   </select></td>
   <td><b>User:</b></td><td id="select2"><select name="select2" style='width:100px;' disabled='disabled'>
   <option >-Select-</option></select>
   </td>
   <td><input type="submit" name="submit" value="Submit" /></td>        
</tr>
</table>
<table width="100%" border="0">
  <tr>
    <td width="33%">
	
	<table width="100%" border="1" class="access_tab">
	
      <tr>
        <td width="14%" align="center" class="access_tabhead"><input type="checkbox" id="selectall"/></td>
        <td width="86%" class="access_tabhead" align="center"><strong>Vehicle</strong></td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
        <input type="checkbox" name="checkbox1" class="case" value="1" <?php echo $keyadd_new_cust;?>>
        </label></td>
        <td class="access_tab">&nbsp;&nbsp;Supplier</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox2" class="case" value="1" <?php echo $keysales_reporting;?>>
        </label></td>
        <td class="access_tab">&nbsp;&nbsp;Financer </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox3" class="case" value="1" <?php echo $keyprod_quot;?>>
        </label></td>
        <td class="access_tab">&nbsp;&nbsp;Branch </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox4" class="case" value="1" <?php echo $keyunmanaged_quotation_sales;?> >
        </label></td>
        <td class="access_tab">&nbsp;&nbsp;Advance Receipt </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox5" class="case" value="1" <?php echo $keyself_analysis_sales;?>>
        </label></td>
        <td class="access_tab">&nbsp;&nbsp;Op. Stock</td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox6" class="case" value="1" <?php echo $keyservice_reporting;?> >
        </label></td>
        <td class="access_tab">&nbsp;&nbsp;Order Form </td>
      </tr>

      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox7" class="case" value="1" <?php echo $keyservice_quotation;?>>
        </label></td>
        <td class="access_tab">&nbsp; Search Order Form </td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox8" class="case" value="1" <?php echo $keyunmanaged_quotation_service;?>>
        </label></td>
        <td class="access_tab">&nbsp; Report </td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox9" class="case" value="1" <?php echo $keyselfanalysis_service;?>>
        </label></td>
        <td class="access_tab">&nbsp; List Inactive </td>
      </tr>
    </table></td>
    <td><table width="100%" border="1" class="access_tab">
      <tr>
        <td width="14%" align="center" class="access_tabhead"><input type="checkbox" id="selectall1"/></td>
        <td width="86%" align="center" class="access_tabhead"><strong>Master</strong></td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox10" class="case1"  value="1" <?php echo $keyproduct_inward;?>>
        </label></td>
        <td class="access_tab">Purchase Order</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox11" class="case1" value="1" <?php echo $keysend_to_service;?>>
        </label></td>
        <td class="access_tab">Vehicle Purchase </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox12" class="case1" value="1" <?php echo $keyreceiving_after_service;?>>
        </label></td>
        <td class="access_tab">Purchase Return</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox13"  class="case1" value="1" <?php echo $keyadd_supplier;?>>
        </label></td>
        <td class="access_tab">Invoice Type Master </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox14" class="case1"  value="1" <?php echo $keysend_purc_request;?> >
        </label></td>
        <td class="access_tab">Invoice - Vehicle </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox15" class="case1" value="1" <?php echo $keysales_report;?>>
        </label></td>
        <td class="access_tab">Search Invoice </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox16" class="case1" value="1" <?php echo $keyservice_report;?>>
        </label></td>
        <td class="access_tab">Sales Returns (VEH)</td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox17" class="case1" value="1" <?php echo $keycompany_visited_reports;?>>
        </label></td>
        <td class="access_tab">Veh.Stock Report </td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox18" class="case1" value="1" <?php echo $keyfollowup_and_pending;?>>
        </label></td>
        <td class="access_tab">D/w Veh.Stock Report </td>
      </tr>
	  
    </table></td>
    <td><table width="100%" border="1" class="access_tab">
      <tr>
        <td width="14%" align="center" class="access_tabhead"><input type="checkbox" id="selectall2"/></td>
        <td width="86%" align="center" class="access_tabhead"><strong>Master </strong></td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox20" class="case2" value="1" <?php echo $keyview_customers;?> >
        </label></td>
        <td class="access_tab">Stock Ledger</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox21" class="case2" value="1" <?php echo $keyview_distributers;?>>
        </label></td>
        <td class="access_tab">Purchase Register</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox22" class="case2" value="1" <?php echo $keyview_employees;?>>
        </label></td>
        <td class="access_tab">Sales Register</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox23" class="case2" value="1" <?php echo $keyview_suppliers;?>>
        </label></td>
        <td class="access_tab">Pur-Return Register</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox24" class="case2" value="1" <?php echo $keyadd_designation;?>>
        </label></td>
        <td class="access_tab">Sales-Return Register</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox25" class="case2" value="1" <?php echo $keyunit_master;?>>
        </label></td>
        <td class="access_tab">&nbsp;Stock Trans in Register</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox26" class="case2" value="1" <?php echo $keytax_master;?> >
        </label></td>
        <td class="access_tab">&nbsp;Stock Trans out Register</td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox27" class="case2" value="1" <?php echo $keytarget_master;?> >
        </label></td>
        <td class="access_tab">&nbsp;Credit Note Register</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox28" class="case2" value="1" <?php echo $keyprefix_master;?>>
        </label></td>
        <td class="access_tab">&nbsp;Credit Note Reg(Spares)</td>
      </tr>
	  
    </table></td>
  </tr>
    <tr>
    <td>
	
	</td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td><table width="100%" border="1" class="access_tab">
      <tr>
        <td width="14%" align="center" class="access_tabhead"><input type="checkbox" id="selectall3"/></td>
        <td width="86%" align="center" class="access_tabhead"><strong>Spares </strong></td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox30" class="case3"   value="1" <?php echo $keyadmin_password_change;?>>
        </label></td>
        <td class="access_tab"> Debit Note</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox31" class="case3" value="1" <?php echo $keyset_customer_password;?>>
        </label></td>
        <td class="access_tab"> Cr Note (Dis Allowed)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox32" class="case3" value="1" <?php echo $keyuser_level_accessibility;?>>
        </label></td>
        <td class="access_tab">Service Call </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox33" class="case3" value="1" <?php echo $keyupdate_user;?>>
        </label></td>
        <td class="access_tab">&nbsp;Veh.Stock Report</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox34" class="case3" value="1" <?php echo $keyadd_employee;?>>
        </label></td>
        <td class="access_tab">&nbsp;Stock Transfer IN</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox35" class="case3" value="1" <?php echo $keycust_emp;?>>
        </label></td>
        <td class="access_tab">&nbsp; Stock Transfer OUT</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox36" class="case3" value="1" <?php echo $keycust_mail;?>>
        </label></td>
        <td class="access_tab">&nbsp;Corporate</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox37" class="case3" value="1" <?php echo $keygroup_mast;?>>
        </label></td>
        <td class="access_tab">&nbsp;Model Master</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox38" class="case3" value="1" <?php echo $keydep_mast;?>>
        </label></td>
        <td class="access_tab">&nbsp;Config Master</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox39" class="case3" value="1" <?php echo $keyre_alot;?> >
        </label></td>
        <td class="access_tab">&nbsp;Segment Master</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox40" class="case3" value="1" <?php echo $jcard_issue;?>>
        </label></td>
        <td class="access_tab">&nbsp;Engine Master</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox41" class="case3" value="1" <?php echo $prefix_master;?> >
        </label></td>
        <td class="access_tab">&nbsp;Service Report</td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox42" class="case3" value="1" <?php echo $admin_pass_change;?> >
        </label></td>
        <td class="access_tab">&nbsp;Service History</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox43" class="case3" value="1" <?php echo $set_cust_pass;?>>
        </label></td>
        <td class="access_tab">&nbsp;Inquiry Source</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox44" class="case3" value="1" <?php echo $keyprospect_master;?>>
        </label></td>
        <td class="access_tab">&nbsp;Prospect</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox45" class="case3" value="1" <?php echo $keycustomer;?>>
        </label></td>
        <td class="access_tab">&nbsp;Customer</td>
      </tr>
    </table></td>
    <td><table width="100%" border="1" class="access_tab">
      <tr>
        <td width="14%" align="center" class="access_tabhead"><input type="checkbox" id="selectall4"/></td>
        <td width="86%" align="center" class="access_tabhead"><strong>Accounts</strong></td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox46" type="checkbox" class="case4" id="checkbox46" value="1" <?php echo $keyterm_condition ;?>>
        </label></td>
        <td class="access_tab">Terms & Conditions </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox47" type="checkbox" id="checkbox47" class="case4" value="1" <?php echo  $keytransport;?>>
        </label></td>
        <td class="access_tab">Transport </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox48" type="checkbox" id="checkbox48" class="case4" value="1" <?php echo $keycust_list_all;?>>
        </label></td>
        <td class="access_tab">  Customer List (All)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
        <input type="checkbox" name="checkbox49" class="case4" value="1"<?php echo $keycust_list_credit;?>>
        </label></td>
        <td class="access_tab">CustomerList (Credit)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox50" type="checkbox" id="checkbox50" class="case4" value="1" <?php echo $keyupload_file;?>>
        </label></td>
        <td class="access_tab">Upload File</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox51" type="checkbox" id="checkbox51" class="case4" value="1" <?php echo $keyupload_min_stock;?>>
        </label></td>
        <td class="access_tab"> Upload Min Stock</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox52" class="case4" value="1" <?php echo $keysea_spare;?>>
        </label></td>
        <td class="access_tab"> Search Spare  </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox53" class="case4" value="1" <?php echo $keychange_engine;?>>
        </label></td>
        <td class="access_tab"> Change Engineer </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox54" class="case4" value="1" <?php echo $keychk_dup_ledger;?>>
        </label></td>
        <td class="access_tab">&nbsp;Check Dup Ledger</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox55" class="case4" value="1" <?php echo $keyagewise_spare_stock;?>>
        </label></td>
        <td class="access_tab">&nbsp;Agewise Spare Stock</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox56" class="case4" value="1" <?php echo  $keystock_adj;?>>
        </label></td>
        <td class="access_tab">&nbsp;Stock Adjustment</td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox57" class="case4" value="1" <?php echo  $keyjcard_issue1;?>>
        </label></td>
        <td class="access_tab">&nbsp;Job Card Issue</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox58" class="case4"  value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Job Card Edit</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox59" class="case4" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Duplicate Bill</td>
      </tr>
	    <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox60" class="case4" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Job Card Report</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox61" class="case4" value="1" >
        </label></td>
        <td class="access_tab">Missed Customers</td>
      </tr>
    </table></td>
    <td><table width="100%" border="1" class="access_tab">
      <tr>
        <td width="14%" align="center" class="access_tabhead"><input type="checkbox" id="selectall5"/></td>
        <td width="86%" align="center" class="access_tabhead"><strong>Service </strong></td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
        <input name="checkbox62" type="checkbox" id="checkbox62" class="case5" value="1" >
        </label></td>
        <td class="access_tab">Cancel Job Card </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox63" type="checkbox" id="checkbox63" class="case5" value="1" >
        </label></td>
        <td class="access_tab">Quotation </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox64" type="checkbox" id="checkbox64" class="case5" value="1" >
        </label></td>
        <td class="access_tab">Quotation Edit</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox65" class="case5" value="1" >
        </label></td>
        <td class="access_tab">  Print Quot</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox66" type="checkbox" id="checkbox66" class="case5" value="1" >
        </label></td>
        <td class="access_tab"> Quot</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox67" class="case5" value="1" >
        </label></td>
        <td class="access_tab"> Production </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox68" type="checkbox" id="checkbox68" class="case5"  value="1"  disabled="disabled">
        </label></td>
        <td class="access_tab"> Purchase Order </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox69" class="case5" value="1" >
        </label></td>
        <td class="access_tab"> Upload Purchase Order  </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox70" type="checkbox" id="checkbox70" class="case5" value="1" >
        </label></td>
        <td class="access_tab"> View Purchase Order </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox71" type="checkbox" id="checkbox71" class="case5" value="1" >
        </label></td>
        <td class="access_tab"> Purchase by P Order </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
        <input type="checkbox" name="checkbox72" class="case5" value="1" >
        </label></td>
        <td class="access_tab"> Pending Purchase Order </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox73" class="case5" value="1" >
        </label></td>
        <td class="access_tab"> Closed Purchase Order </td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox74" class="case5" value="1" >
        </label></td>
        <td class="access_tab">Purchase Return  </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox75" class="case5" value="1" >
        </label></td>
        <td class="access_tab"> Purchase Return old </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
        <input type="checkbox" name="checkbox76" class="case5" value="1" >
        </label></td>
        <td class="access_tab"> Sale Order </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox77" class="case5" value="1" > </label></td>
        <td class="access_tab"> Pending Saleorder Report - Order Wise </td>
      </tr>
    </table>	</td>
  </tr>
  <tr>
    <td><table width="100%" border="1" class="access_tab">
      <tr>
        <td width="14%" align="center" class="access_tabhead"><input type="checkbox" id="selectall6"/></td>
        <td width="86%" align="center" class="access_tabhead"><strong>Spares </strong></td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox78" class="case6" value="1" >
        </label></td>
        <td class="access_tab"> Stock availability %</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox79" class="case6" value="1" >
        </label></td>
        <td class="access_tab"> Sale</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox80" class="case6" value="1" >
        </label></td>
        <td class="access_tab">Sales Return </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox81" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Sales Return Old</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox82" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Warranty Sales Return</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox83" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp; Warranty Sales Return Old</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox84" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Sales Return (JC)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox85" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Sales Return Old(JC)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox86" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Closed Saleorder Report</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox87" class="case6" value="1"  >
        </label></td>
        <td class="access_tab">&nbsp;Invoice Summary</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox88" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Warr.Order</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox89" class="case6" value="1"  >
        </label></td>
        <td class="access_tab">&nbsp;Warr.Sale</td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox90" class="case6" value="1"  >
        </label></td>
        <td class="access_tab">&nbsp;Credit Billing Report</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox91" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Transfer In</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox92" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Transfer Out</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox93" class="case6" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Transfer Out (Telcon)</td>
      </tr>
    </table></td>
    <td><table width="100%" border="1" class="access_tab">
      <tr>
        <td width="14%" align="center" class="access_tabhead"><input type="checkbox" id="selectall7"/></td>
        <td width="86%" align="center" class="access_tabhead"><strong>Accounts</strong></td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox94" type="checkbox" id="checkbox94" class="case7"  value="1" >
        </label></td>
        <td class="access_tab">Transfer Out (WAR) </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox95" type="checkbox" id="checkbox95" class="case7" value="1">
        </label></td>
        <td class="access_tab">Transfer Out-2(WAR) </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox96" type="checkbox" id="checkbox96" class="case7" value="1">
        </label></td>
        <td class="access_tab"> DEL Transfer Out (WAR)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
        <input type="checkbox" name="checkbox97" class="case7" value="1" >
        </label></td>
        <td class="access_tab">Transfer IN (WAR)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox98" type="checkbox" id="checkbox98" class="case7" value="1" >
        </label></td>
        <td class="access_tab">PH Transfer IN (WAR)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox99" type="checkbox" id="checkbox99" class="case7" value="1" >
        </label></td>
        <td class="access_tab"> Warranty Status 1</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox100" class="case7" value="1" >
        </label></td>
        <td class="access_tab"> Warranty Status 2  </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox101" class="case7" value="1" >
        </label></td>
        <td class="access_tab"> Invoice - Report Eng wise </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox102" class="case7" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Eng Grp Report(Sales-Return)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox103" class="case7" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Discount Report</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox104" class="case7" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Invoice - Report Eng/Gr</td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox105" class="case7" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Invoice - Report 1</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox106" class="case7" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Sale order repo</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox107" class="case7" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Invoice - Report 2</td>
      </tr>
	    <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox108" class="case7" value="1" >
        </label></td>
        <td class="access_tab">&nbsp;Invoice - Summary</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox109" class="case7" value="1" >
        </label></td>
        <td class="access_tab">Invoice - Group wise</td>
      </tr>
    </table></td>
    <td><table width="100%" border="1" class="access_tab">
      <tr>
        <td width="14%" align="center" class="access_tabhead"><input type="checkbox" id="selectall8"/></td>
        <td width="86%" align="center" class="access_tabhead"><strong>Service </strong></td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
        <input name="checkbox110" type="checkbox" id="checkbox110" class="case8" value="1" >
        </label></td>
        <td class="access_tab">Invoice-Customer wise </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox111" type="checkbox" id="checkbox111" class="case8" value="1" >
        </label></td>
        <td class="access_tab">Invoice-Customer(Group) </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox112" type="checkbox" id="checkbox112" class="case8" value="1" >
        </label></td>
        <td class="access_tab">Invoice-Customer(Single)</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox113" class="case8" value="1" >
        </label></td>
        <td class="access_tab">  Warranty Invoice Summary</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox114" type="checkbox" id="checkbox114" class="case8" value="1" >
        </label></td>
        <td class="access_tab"> Counter Sale - Group/Br wise</td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox115" class="case8" value="1" >
        </label></td>
        <td class="access_tab"> Counter & JCard-Group/Br wise - No Serv </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox116" type="checkbox" id="checkbox116" class="case8" value="1"  disabled="disabled">
        </label></td>
        <td class="access_tab"> JCard Grid Report </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox117" class="case8" value="1" >
        </label></td>
        <td class="access_tab"> JCard Grid(Summry)  </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox118" type="checkbox" id="checkbox118" class="case8" value="1" >
        </label></td>
        <td class="access_tab"> JCard Grid(Detail) </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input name="checkbox119" type="checkbox" id="checkbox119" class="case8" value="1" >
        </label></td>
        <td class="access_tab"> Counter&JCard - Group/Br wise </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
        <input type="checkbox" name="checkbox120" class="case8" value="1" >
        </label></td>
        <td class="access_tab"> Counter&JCard - Inv&Not Inv Group/Br wise </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox121" class="case8" value="1" >
        </label></td>
        <td class="access_tab">Invoice FOC </td>
      </tr>
	  <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox122" class="case8" value="1" >
        </label></td>
        <td class="access_tab">Warranty Invoice  </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox123" class="case8" value="1" >
        </label></td>
        <td class="access_tab"> *SpareInvoice(Vat) </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
        <input type="checkbox" name="checkbox124" class="case8" value="1" >
        </label></td>
        <td class="access_tab"> *SpareInvoice(CST) </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="access_tab"><label>
          <input type="checkbox" name="checkbox125" class="case8" value="1" > </label></td>
        <td class="access_tab"> *WarSpareInvoice </td>
      </tr>
    </table>	</td>
  </tr>
  
  
  
  
  
  
  
  
  
  
  
  
  
  <tr>
    <td align="center" colspan="3"><input name="update" type="submit" id="update" value="update" /></td>
  </tr>
</table>
        </div>
        <div class="clear"></div>  
    </div>
</div>

</form>
</div>
</body>
</html>

