<!-- recurring pay  -->
<section id="sect-recurring-pay" class="border p-3 <?php echo (!empty($default)&& $default=='open')?'':'d-none'; ?>">
	<div class="row title-row" data-toggle="collapse" href="#collapseRecurringPayAndDeduct" role="button" aria-expanded="false">
		<div class="col-12">
			<h3 id="sect-recurring-pay-header">Recurring Pay / Deduct</h3>
		</div>
	</div>
	<div id="collapseRecurringPayAndDeduct">
			<div class="row">
				<div class="col-12 col-lg-6">
					<label><b>Date From</b></label>
					<input type="text" class="form-control datepicker" name="recurring_date_from">
				</div>
				<div class="col-12 col-lg-6">
					<label><b>Date To</b></label>
					<input type="text" class="form-control datepicker" name="recurring_date_to">
				</div>
			</div>

			<div class="row">
				<div class="col-12 col-lg-6">
					<label><b>Recurring</b></label>
					<select class="form-control" name="recurring_item_recurr">
						<option value="0">Payment</option>
						<option value="1">Deduction</option>
					</select>
				</div>
				<div class="col-12 col-lg-6">
					<label><b>Type</b></label>
					<input type="text" class="form-control" name="recurring_type">
				</div>
			</div>

			<div class="row">
				<div class="col-12 col-lg-6">
					<label><b>Amount</b></label>
					<div class="input-group mb-3">
					  <div class="input-group-prepend">
					    <span class="input-group-text">RM</span>
					  </div>
					  <input type="text" class="form-control" name="recurring_amount">
					</div>
				</div>
				<div class="col-12 col-lg-6">
					<label><b>Status</b></label>
					<select class="form-control" name="recurring_status">
						<option value="0">Ongoing</option>
						<option value="1">End</option>
					</select>
				</div>
			</div>

			<div class="row">
				<div class="col-12 col-lg-2 ml-auto my-3">
					<button type="button" class="btn btn-primary btn-block" onclick="addRecuring()" data-trigger="hover" data-tooltip="tooltip" title="" data-original-title="Add recurring payment / deduction"><i class="fas fa-plus"></i></button>
				</div>
			</div>

			<div class="row">
				<div class="col-12">
					<div class="table-responsive">
						<table class="table table-bordered" id="tbl-recurring">
							<thead>
								<tr>
									<th>Detail</th>
									<th>Action</th>
								</tr>
							</thead>
						</table>
						<tbody></tbody>
					</div>
				</div>
			</div>
	</div>
</section>
<!-- recurring pay -->