
<div class="table-actions-wrapper">
	<span>
	</span>
	<a class="btn btn-sm green table-group-action-filter" data-toggle="modal" href="#modal_filter"><i class="fa fa-filter"></i> Filter</a>
	<button class="btn btn-sm red table-group-action-filter filter-cancel"><i class="fa fa-remove"></i> Reset Filter</button>
</div>
<table class="table table-striped table-bordered table-hover" data-column-sorting="0" data-dir-sorting="desc" id="tbl_bill_fine" data-url="<?= base_url('billfine/list_ajax') ?>">
	<thead>
	<tr role="row" class="heading">
		<th>
			Billing No.
		</th>
		<th>
			Unit Number
		</th>
		<th>
			Occupant Name &nbsp;&nbsp;&nbsp;&nbsp;
		</th>
		<th>
			Due Date Bill &nbsp;&nbsp;
		</th>
		<th>
			Payment Date Bill
		</th>
		<th>
			Total Payment
		</th>
		<th>
			Days &nbsp;&nbsp;&nbsp;&nbsp;
		</th>
		<th>
			Total Late Charge
		</th>
		<th>
			Payment Date Late Charge
		</th>
		<th>
			Paid &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</th>
		<th>
			Remain &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</th>
	</tr>
	
	</thead>
	<tbody>
	</tbody>
</table>

<div id="modal_filter" class="modal fade" tabindex="-1">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
		<h4 class="modal-title">Form Filter</h4>
	</div>
	<div class="modal-body form">

		<form class="form-horizontal">
			<div class="form-body">

				<div class="form-group">
					<label class="col-md-4 control-label">Billing No.</label>
					<div class="col-md-6">
						<input type="text" class="form-control form-filter" name="bill_code">
					</div>
				</div>

				<div class="form-group">
					<label class="col-md-4 control-label">Unit Number</label>
					<div class="col-md-6">
						<input type="text" class="form-control form-filter" name="unit_name">
					</div>
				</div>

			</div>
		</form>

		
	</div>
	<div class="modal-footer">
		<button type="button" data-dismiss="modal" class="btn btn-default">Cancel</button>
		<button type="button" class="btn blue filter-submit">Filter</button>
	</div>
</div>

<script type="text/javascript">
	jQuery(document).ready(function() {   
		TableAjax.init('#tbl_bill_fine')
		CustomForm.init()
	})
</script>
