<div class="container-dpt">
	<form class="form-horizontal" id="form_dpt">
		<div class="form-group">
			<label class="control-label col-sm-1">Tanggal</label>
			<div class="col-sm-6">
				<table>
					<tr>
						<td><?php echo $datetime1;?></td>
						<td>&nbsp;<?php echo azlang('to');?>&nbsp;</td>
						<td><?php echo $datetime2;?></td>
					</tr>
				</table>
			</div>
		</div>
		<?php 
			if (strlen($this->session->userdata('idoutlet')) == 0) {
		?>
		<div class="form-group">
			<label class="control-label col-sm-1"><?php echo azlang('Outlet');?></label>
			<div class="col-sm-4">
				<?php echo az_select_outlet();?>
			</div>
		</div>
		<?php
			}
		?>
		<div class="form-group">
			<label class="control-label col-sm-1">Kasir</label>
			<div class="col-sm-4">
				<?php echo az_select_cashier();?>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-1"></div>
			<div class="col-sm-4">
				<button class="btn btn-info" id="btn_filter" type="button"><?php echo azlang('Filter');?></button>
			</div>
		</div>
		<hr>
	</form>
</div>

<h3>ANALISA DPT</h3>
<table class="table table-bordered table-condensed" id="table_dpt_analysis">
	<thead>
		<tr>
			<th style="text-align:center;" width="10px">No</th>
			<th style="text-align:center;">Outlet</th>
			<th style="text-align:center;">Jumlah Sales</th>
			<th style="text-align:center;">Jumlah DPT</th>
			<th style="text-align:center;">Jumlah Bill Masuk</th>
			<th style="text-align:center;">Jumlah Pcs Masuk</th>
			<th style="text-align:center;">Jumlah Bill Keluar</th>
			<th style="text-align:center;">Jumlah Pcs Keluar</th>
		</tr>
	</thead>
	<tbody>

	</tbody>
</table>

<h3>DPT MASUK</h3>
<div class="table-dpt-wrapper table-responsive">
	<table class="table table-condensed table-bordered" id="table_dpt_report" border="1" cellpadding="5" cellspacing="5" style="border-collapse: collapse" width="100%">
		<thead>
			<tr>
				<td align="center" style="font-weight: bold" width="10px">No</td>
				<td align="center" style="font-weight:bold;" width="160px">No Bill</td>
				<td align="center" style="font-weight:bold;" width="160px">Tanggal</td>
				<td align="center" style="font-weight:bold;">Pelanggan</td>
				<td align="center" style="font-weight:bold;" width="160px">Jumlah Tagihan</td>
				<td align="center" style="font-weight:bold;" width="160px">Yang Dibayar</td>
				<td align="center" style="font-weight:bold;" width="160px">Kasir</td>
				<td align="center" style="font-weight:bold;" width="80px">Status</td>
				<td align="center" style="font-weight:bold;" width="200px">Jenis Bayar</td>
			</tr>
		</thead>
		<tbody>

		</tbody>
		<tfoot>
			<tr>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td align="right"><b>TOTAL</b></td>
				<td align="right"><b><span class="txt-total"></span></b></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
		</tfoot>
	</table>
</div>

<h3>DPT PICKUP</h3>
<div class="table-dpt-wrapper table-responsive">
	<table class="table table-condensed table-bordered" id="table_dpt_pickup" border="1" cellpadding="5" cellspacing="5" style="border-collapse: collapse" width="100%">
		<thead>
			<tr>
				<td align="center" style="font-weight: bold" width="10px">No</td>
				<td align="center" style="font-weight:bold;" width="160px">No Bill</td>
				<td align="center" style="font-weight:bold;" width="160px">Tanggal Pickup</td>
				<td align="center" style="font-weight:bold;">Pelanggan</td>
				<td align="center" style="font-weight:bold;" width="160px">Jumlah Tagihan</td>
				<td align="center" style="font-weight:bold;" width="160px">Yang Dibayar</td>
				<td align="center" style="font-weight:bold;" width="160px">Kasir</td>
				<td align="center" style="font-weight:bold;" width="80px">Status</td>
				<td align="center" style="font-weight:bold;" width="200px">Jenis Bayar</td>
			</tr>
		</thead>
		<tbody>

		</tbody>
		<tfoot>
			<tr>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td align="right"><b>TOTAL</b></td>
				<td align="right"><b><span class="txt-total-pickup"></span></b></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
		</tfoot>
	</table>
</div>
<h3>TOTAL DPT: Rp <span class='txt-total-all'></span></h3>
<hr>
<h3>PENGELUARAN</h3>
<div class="table-dpt-wrapper table-responsive">
	<table class="table table-condensed table-bordered" id="table_dpt_outlay" border="1" cellpadding="5" cellspacing="5" style="border-collapse: collapse" width="100%">
		<thead>
			<tr>
				<td align="center" style="font-weight: bold" width="10px">No</td>
				<td align="center" style="font-weight:bold;" width="160px">Tanggal Transaksi</td>
				<td align="center" style="font-weight:bold;" width="160px">Outlet</td>
				<td align="center" style="font-weight:bold;" width="160px">Nama Kasir/user</td>
				<td align="center" style="font-weight:bold;" width="160px">Jenis Transaksi</td>
				<td align="center" style="font-weight:bold;">Keterangan</td>
				<td align="center" style="font-weight:bold;">Bukti File</td>
				<td align="center" style="font-weight:bold;" width="200px">Jumlah</td>
			</tr>
		</thead>
		<tbody>

		</tbody>
	</table>
</div>

<div class="row">
	<div class="col-md-6">
		<table class="table table-bordered table-condensed" id="table_dpt_payment">
			<thead>
				<tr>
					<th style="text-align:center;" width="10px">No</th>
					<th style="text-align:center;">Cara Pembayaran</th>
					<th style="text-align:center;">Jumlah Bill</th>
					<th style="text-align:center;">Jumlah Uang</th>
					<th style="text-align:center;">Persentase</th>
				</tr>
			</thead>
			<tbody>

			</tbody>
		</table>
	</div>
</div>

<h3>ANALISA DPT</h3>
<table class="table table-bordered table-condensed" id="table_dpt_analysis">
	<thead>
		<tr>
			<th style="text-align:center;" width="10px">No</th>
			<th style="text-align:center;">Outlet</th>
			<th style="text-align:center;">Jumlah Sales</th>
			<th style="text-align:center;">Jumlah DPT</th>
			<th style="text-align:center;">Jumlah Bill Masuk</th>
			<th style="text-align:center;">Jumlah Pcs Masuk</th>
			<th style="text-align:center;">Jumlah Bill Keluar</th>
			<th style="text-align:center;">Jumlah Pcs Keluar</th>
		</tr>
	</thead>
	<tbody>

	</tbody>
</table>