<?php
	$general->pageHeader($rModule['title']);
?>
<div class="white-box border-box">
	<div class="row">
		<div class="col-md-12">
			<div class="col-sm-12 col-md-12 col-lg-12">
				<div class="col-md-3" >
					<h5 class="box-title">&nbsp;</h5>
					<input type="text" id="dRange" class="daterangepickerMulti form-control" value="">
				</div>
                <?php 
				$ledger_types = [
					['id'=>H_TYPE_CUSTOM,'title'=>'Custom'],
					['id'=>H_TYPE_SUPPLIER,'title'=>'Supplier'],
					['id'=>H_TYPE_CUSTOMER,'title'=>'Customer'],
					['id'=>H_TYPE_AUTO_HEAD,'title'=>'Asset'],
					['id'=>H_TYPE_AUTO_HEAD,'title'=>'System head'],
				];
				$general->inputBoxSelectForReport($ledger_types,'Type','type','id','title');
				?>
			
				<div class="col-md-2">
					<h5 class="box-title">Search</h5>
					<button class="btn btn-success" id="report-button">Search</button>
				</div>
			</div>
			<script>
                $('#report-button').click(function(){general_ledger_summary();})
                
			</script>
		</div>


		<div class="col-sm-12 col-lg-12"><?php show_msg();?></div>
		<div class="col-sm-12 col-lg-12" id="reportArea"></div>
	</div>
</div>