<?php session_start();
include ('../inc/dbcon.php');
include ('../inc/functions.php');
if(isset($_SESSION["axeslogin"]) && $_SESSION["axeslogin"] == true){
$_SESSION['cuPages']='rep_voupayrecstm.php';   
$cuPage='rep_voupayrecstm.php';    
$aid=$_SESSION['uid'];
$brid=$_SESSION['abrid'];     
$access=$_SESSION['access'];  
}else{
header('Location:../index.php');
exit;    
}
$mhead='report';
$menuh='Report';
$phead='report';
$page='Payment & Receipt Report';
$ractive='D';
$today = strftime("%Y-%m-%d", time());
$dtnow = date("Y-m-d h:i:s", time());
?>
<?php
include('../layout/head.php');
include('../layout/header.php');
include('../layout/side_nav.php');
?>

<div class="content-wrapper">
<?php include('../layout/page_head.php'); ?>
<!-- Main content -->
<section class="content">
    <div class="row">
<div class="col-md-12">
<div class="col-md-3">    
<div class="box box-solid">

<div class="box-body">
<div class="col-md-12">    
<div class="row">    
<div class="roles-menu">   
<ul class="nav">
<?php 
$query=mysqli_query($con,"SELECT * FROM tbl_userreportrole WHERE access='$access'")or die(mysqli_error($con));
$row=mysqli_fetch_array($query);

?>
<?php if($row['vop']==1){ ?><li <?php if($ractive=='A'){echo 'class="active"';}?>><a href="rep_voupaym.php"><?php if(get_fild_data('tbl_setting','1','sval')==0){echo ' Payment';}else{echo ' আদায়  প্রতিবেদন ';}?></a></li><?php } ?>
<?php if($row['vor']==1){ ?><li <?php if($ractive=='B'){echo 'class="active"';}?>><a href="rep_vourecpt.php"><?php if(get_fild_data('tbl_setting','1','sval')==0){echo ' Receipt';}else{echo ' রসিদ প্রতিবেদন ';}?></a></li><?php } ?>
<?php if($row['voj']==1){ ?><li <?php if($ractive=='C'){echo 'class="active"';}?>><a href="rep_voujournal.php"><?php if(get_fild_data('tbl_setting','1','sval')==0){echo ' Journal';}else{echo 'জার্নাল রিপোর্ট';}?></a></li><?php } ?>
<?php if($row['voprst']==1){ ?><li <?php if($ractive=='D'){echo 'class="active"';}?>><a href="rep_voupayrecstm.php"><?php if(get_fild_data('tbl_setting','1','sval')==0){echo ' Payment &amp; Receipt Statement';}else{echo ' আদায় এবং রসিদ প্রতিবেদন ';}?></a></li><?php } ?>
<?php if($row['voit']==1){ ?><li <?php if($ractive=='E'){echo 'class="active"';}?>><a href="rep_vouinttra.php"><?php if(get_fild_data('tbl_setting','1','sval')==0){echo ' Internal Transaction';}else{echo ' অভ্যন্তরীণ লেনদেন';}?></a></li><?php } ?>
<?php if($row['voo']==1){ ?><li <?php if($ractive=='F'){echo 'class="active"';}?>><a href="rep_vouyovrview.php"><?php if(get_fild_data('tbl_setting','1','sval')==0){echo ' Overview';}else{echo ' সামগ্রিক অবস্থা (ওভারভিউ)';}?></a></li><?php } ?>
  
</ul>
</div>
</div>
<hr>    
<form action="rep_dailycashst.php" onsubmit="return validate()" enctype="multipart/form-data" method="post" accept-charset="utf-8">
<!--From Data-->
    
<!--End From Data-->    
<div class="clearfix" ></div>
<div class="col-md-12 nopadding widgets_area"></div>    
<div class="row"style="margin-top: 15px" >
<div class="col-md-4"></div>
<div class="col-md-8 text-right" >
<input type="submit" name="filter_submit" id="submit" class="btn btn-flat bg-purple btn-sm " value="Submit"/> <a href="axe_report.php" class="btn btn-flat bg-gray  ">Close</a>
</div> 
</div>     
</form>    
</div>
</div>
</div>  
</div>
<div class="col-md-9">
<div class="row">    
<div class="side-head"> 
<div class="col-md-12">    
<div class="col-md-4 text-left">
<button class="btn btn-flat bg-teal" id="print"><i class="fa fa-print"></i></button> 
<button class="btn btn-flat bg-blue"><i class="fa fa-envelope-o"></i></button> 
<button class="btn btn-flat bg-gray"><i class="fa fa-file-pdf-o"></i></button>     
</div>
<div class="col-md-7 text-center">
<select name="Page_resolution" id="resolution" onchange="setPrinterConfig()" style="width: 205px;height: 28px;border: 1px solid red;">
<option value="A4" selected="selected">A4 [210mm × 297mm]</option>   
<option value="A5">A5 [148mm × 210mm]</option>
<option value="Letter">US Letter [216mm × 279mm]</option>
<option value="Legal">US Legal [216mm × 356mm]</option>
</select>
<select name="Page_size" id="rotate" onchange="setPrinterConfig()" style="width: 120px;height: 28px;border: 1px solid red;">
<option value="portrait">Portrait</option>
<option value="landscape">Landscape</option>
</select>    
</div>    
<div class="col-md-1 text-right">

</div>
</div>
</div>    
</div>
<div class="row">
<div class="invhold scrol-y" id="invhold">
<div class="printableArea">
    
</div>    
    
</div>
</div>
</div>
    
</div>    
</div>
    
<?php include('../layout/quick.php');?>    
</section>
<!-- /.main content -->    
</div>
<?php
include('../layout/footer.php');
?>
<!-- page script -->
<script type="text/javascript">
   
</script>    
<!-- /page script -->
</html>    