<?php 
include('./includes/Class_Branch.php');
	include('./includes/AccountGroupMaster_Class.php');
  ///include('includes/function_lib.php');
$modid=$_REQUEST['modid'];
$frmid=$_REQUEST['frmid'];
$action=$_REQUEST['action'];
$daction=$_REQUEST['daction'];
$rurl="&modid=".$modid."&frmid=".$frmid;
$targetpage="index.php?route=Account/Account_Payable_Report".$rurl;

$table_name='purchase_billbook';
?>
<link href="css/accountbook_css.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/new_mxerp.css">

<div class="body_contain">
<div class="tab_div">
<h1>Account Payable Report</h1>
<div id="container">
  <div id="tabs">
   <ul>
	   <li><a href="<?php  echo $targetpage;?>&tabid=0&page=APReport">Purchase Register</a></li>
	   <li><a href="<?php  echo $targetpage;?>&tabid=1&page=APRColumnarRport">Columnar PR</a></li>
	   <li><a href="<?php  echo $targetpage;?>&tabid=2&page=APRVendorReport">Vendor wise PR</a></li>
	   <li><a href="<?php  echo $targetpage;?>&tabid=3&page=APRPayableBillWise">Account Payable-Bill wise</a></li>
	   <li><a href="<?php  echo $targetpage;?>&tabid=4&page=APROutstandingReport">Ageing OutStanding Report</a></li>
	   <li><a href="<?php  echo $targetpage;?>&tabid=5&page=APRExtractTrialReport">Extract Trial PR</a></li>
   </ul>
   
   <?php $Report_Title=array('Purchase Register','Columnar Purchase Register','Vendor Wise Purchase Report','Account Payable-Bill wise','Ageing OutStanding Report','Extract Trial Purchase','Party Payment Collection Reports');
   
   for($j=0;$j<7;$j++)
   		{
   		if($j==$_REQUEST['tabid'])
		{
	?>
	   	<div id="<?php echo $j;?>"><h3><?php echo $Report_Title[$j];?></h3>		
		 <?php
								if($_REQUEST['route']!=''&& $_REQUEST['page']!='')
								{
 								   include($_REQUEST['page'].".php");
 								} ?>
    </div>
	   <?php 
	      }
	   } ?>
</div>
 </div>

 </div>
 </div>