<?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/AccountingReport".$rurl;
$table_name='purchase_billbook';
?>
<link href="css/accountbook_css.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/new_mxerp.css">
<style type="text/css">
	.formsarea{width:100%; float:left;}
</style>

<div class="body_contain">
<div class="tab_div">
<h1>Account Report</h1>
<div id="container">
  <div id="tabs" style="width:100%; float:left;">
   <ul><!--559195-->
   <li><strong><a href="<?php  echo $targetpage;?>&tabid=4&page=APRGroupSummary">Group Summary</a></strong></li>
   <li><strong><a href="<?php  echo $targetpage;?>&tabid=5&page=APRLedgerWiseSummary">Ledger Summary</a></strong></li>
   <li><strong><a href="<?php  echo $targetpage;?>&tabid=0&page=APRGroupWise-BalanceSheet">Balance Sheet</a></strong></li>
   <strong>
   <!--   <li><a href="<?php  echo $targetpage;?>&tabid=1&page=APRLedgerWise-BalanceSheet">BalSheet-Ledger Wise </a>|&nbsp;</li>

   <li><a href="<?php  echo $targetpage;?>&tabid=2&page=APRGroupWise-TrialBalance">Trial Balance-Group Wise </a>|&nbsp;</li>
-->      
   </strong>
   <li><strong><a href="<?php  echo $targetpage;?>&tabid=6&page=APRGroupWise-TrialBalance">Groupwise Trial</a></strong></li>
   <li><strong><a href="<?php  echo $targetpage;?>&tabid=3&page=APRLedgerWise-TrialBalance">Ledgerwise Trial</a></strong></li>
   <li><strong><a href="<?php  echo $targetpage;?>&tabid=7&page=APRGroupWise-PandL">Profit &amp; Loss</a></strong></li>
   </ul>

   <?php $Report_Title=array('Balance Sheet','Balance Sheet-Ledger Wise','Group Wise Trial Balance','Ledger Wise Trial Balance','Group Summary','Ledger Summary','Group Wise Trial Balance','Profit & Loss A/C');
   for($j=0;$j<8;$j++)
   {
   	if($j==$_REQUEST['tabid'])
	{
	?>
	<div id="<?php echo $j;?>" style="width:100%;">

 <h3><?php echo $Report_Title[$j];?></h3>		
	 <?php	if($_REQUEST['route']!=''&& $_REQUEST['page']!='')	{ include($_REQUEST['page'].".php"); } ?>

    </div>
<?php } } ?>
</div>
 </div>
 </div>
 </div>

