<!-- Content Header (Page header) -->
<section class="content-header">
	<div class="container-fluid">
		<div class="row mb-2">
			<div class="col-sm-6">
				<h1 class="m-0">Reports</h1>
			</div>

			<div class="col-sm-6">
				<ol class="breadcrumb float-sm-right">
					<li class="breadcrumb-item"><a href="dashboard">Dashboard</a></li>
					<li class="breadcrumb-item"><a href="report">Reports</a></li>
					<li class="breadcrumb-item active">Cash Book</li>
				</ol>
			</div>
		</div>
	</div>
</section>

<!-- Main content -->
<section class="content">
	<div class="container-fluid">
		<!-- Small boxes (Stat box) -->
		<div class="row">
			<div class="col-md-12">
				<form id="frmCashBook" action="report/cash-book" method="post" target="_blank">
					<div class="card card-primary">
						<div class="card-header">
							<h3 class="card-title">Cash Book</h3>
						</div>

						<div class="card-body">
							<div class="row">
								<div class="col-md-6">
									<div class="form-group">
										<label for="start-date">Start Date</label>
										<div class="input-group date datepicker" id="start-date" data-target-input="nearest">
											<input type="text" name="start_date" class="form-control" data-target="#start-date" value="<?php echo date( '01/m/Y' ); ?>" />
											<div class="input-group-append" data-target="#start-date" data-toggle="datetimepicker">
												<div class="input-group-text"><i class="fa fa-calendar"></i></div>
											</div>
										</div>
									</div>
								</div>

								<div class="col-md-6">
									<div class="form-group">
										<label for="end-date">End Date</label>
										<div class="input-group date datepicker" id="end-date" data-target-input="nearest">
											<input type="text" name="end_date" class="form-control" data-target="#end-date" value="<?php echo date( 't/m/Y' ); ?>" />
											<div class="input-group-append" data-target="#end-date" data-toggle="datetimepicker">
												<div class="input-group-text"><i class="fa fa-calendar"></i></div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>

						<input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>">

						<div class="card-footer">
							<input type="submit" class="btn bg-gradient-primary" value="View Report">
							<input type="reset" class="btn bg-gradient-danger" value="Cancel">
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</section>