<!-- statutory details -->
<section id="sect-statutory-detail" class="border p-3 <?php echo (!empty($default)&& $default=='open')?'':'d-none'; ?>">
	<div class="row title-row" data-toggle="collapse" href="#collapseStatutoryDetails" role="button" aria-expanded="false">
		<div class="col-12">
			<h3 id="sect-statutory-detail-header">Statutory Details</h3>
		</div>
	</div>
	<div id="collapseStatutoryDetails">
			<div class="row">
				<div class="col-12 ">
					<label><b>Employee EPF Number</b></label>
					<input type="text" class="form-control" name="statutory_epf_no" value="<?php echo (!empty($statutory_details->ee_epf_no))?$statutory_details->ee_epf_no:''; ?>">	
				</div>
			</div>

			<div class="row">
				<div class="col-12 col-lg-6">
					<label><b>Employer Rate</b></label>
					<div class="row">
						<div class="col-12 col-lg-4">
							<div class="row">
								<div class="col-4">
									<?php if (isset($statutory_details->er_rate)): ?>
										<input type="radio" class="form-control" name="statutory_er_rate" value="0" <?php echo ($statutory_details->er_rate == 0)?'checked="checked"':''; ?>>
									<?php else: ?>
										<input type="radio" class="form-control" name="statutory_er_rate" value="0">
									<?php endif ?>
								</div>
								<div class="col">
									Statutory Rate
								</div>
							</div>
						</div>
						<div class="col-12 col-lg-4">
							<div class="row">
								<div class="col-4">
									<?php if (isset($statutory_details->er_rate)): ?>
										<input type="radio" class="form-control" name="statutory_er_rate" value="1" <?php echo ($statutory_details->er_rate == 1)?'checked="checked"':''; ?>>
									<?php else: ?>
										<input type="radio" class="form-control" name="statutory_er_rate" value="1">
									<?php endif ?>
								</div>
								<div class="col">
									company Rate
								</div>
							</div>
						</div>
						<div class="col-12 col-lg-4">
							<div class="row">
								<div class="col-4">
									<?php if (isset($statutory_details->er_rate)): ?>
										<input type="radio" class="form-control" name="statutory_er_rate" value="2" <?php echo ($statutory_details->er_rate == 2)?'checked="checked"':''; ?>>
									<?php else: ?>
										<input type="radio" class="form-control" name="statutory_er_rate" value="2" >
									<?php endif ?>
								</div>
								<div class="col">
									Personal Rate
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="col-12 col-lg-6">
					<label><b>Amount Percentage</b></label>
					<div class="input-group mb-3">
					  <input type="number" class="form-control" name="statutory_er_percent" value="<?php echo (!empty($statutory_details->er_percent))?$statutory_details->er_percent:''; ?>">
					  <div class="input-group-append">
					     <span class="input-group-text">%</span>
					  </div>
					</div>
				</div>
			</div>

			<div class="row">
				<div class="col-12 col-lg-6">
					<label><b>Employee Rate</b></label>
					<div class="row">
						<div class="col-12 col-lg-4">
							<div class="row">
								<div class="col-4">
									<?php if (isset($statutory_details->ee_rate)): ?>
										<input type="radio" class="form-control" name="statutory_ee_rate" value="0" <?php echo ($statutory_details->ee_rate == 0)?'checked="checked"':''; ?>>	
									<?php else: ?>
										<input type="radio" class="form-control" name="statutory_ee_rate" value="0">
									<?php endif ?>
								</div>
								<div class="col">
									Statutory Rate
								</div>
							</div>
						</div>
						<div class="col-12 col-lg-4">
							<div class="row">
								<div class="col-4">
									<?php if (isset($statutory_details->ee_rate)): ?>
										<input type="radio" class="form-control" name="statutory_ee_rate" value="1" <?php echo ($statutory_details->ee_rate == 1)?'checked="checked"':''; ?>>	
									<?php else: ?>
										<input type="radio" class="form-control" name="statutory_ee_rate" value="1">
									<?php endif ?>
								</div>
								<div class="col">
									company Rate
								</div>
							</div>
						</div>
						<div class="col-12 col-lg-4">
							<div class="row">
								<div class="col-4">
									<?php if (isset($statutory_details->ee_rate)): ?>
										<input type="radio" class="form-control" name="statutory_ee_rate" value="2" <?php echo ($statutory_details->ee_rate == 2)?'checked="checked"':'';?>>	
									<?php else: ?>
										<input type="radio" class="form-control" name="statutory_ee_rate" value="2">
									<?php endif ?>
								</div>
								<div class="col">
									Personal Rate
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="col-12 col-lg-6">
					<label><b>Amount Percentage</b></label>
					<div class="input-group mb-3">
					  <input type="number" class="form-control" name="statutory_ee_percent" value="<?php echo (!empty($statutory_details->ee_percent))?$statutory_details->ee_percent:''; ?>">
					  <div class="input-group-append">
					     <span class="input-group-text">%</span>
					  </div>
					</div>
				</div>
			</div>


			<div class="row">
				<div class="col-12 col-lg-6">
					<label><b>Employee SOCSO No</b></label>
					<input type="text" class="form-control" name="statutory_socso" value="<?php echo (!empty($statutory_details->ee_socso))?$statutory_details->ee_socso:''; ?>">
				</div>
				<div class="col-12 col-lg-6">
					<label><b>Income Tax No</b></label>
					<input type="text" class="form-control" name="statutory_income_tax" value="<?php echo (!empty($statutory_details->ee_income_tax))?$statutory_details->ee_income_tax:''; ?>">
				</div>
			</div>

			<div class="row">
				<div class="col-12 col-lg-6">
					<label><b>PCB Deduction Amount</b></label>
					<div class="input-group mb-3">
						  	<div class="input-group-prepend">
						    	<button class="btn btn-default" type="button" disabled>RM</button>
						  	</div>
							<input type="text" class="form-control" name="statutory_pcb_deduction" value="<?php echo (!empty($statutory_details->ee_pcb_deduction))?number_format($statutory_details->ee_pcb_deduction,2):''; ?>">
					</div>
				</div>
				<div class="col-12 col-lg-6">
					<label><b>Zakat Deduction Amount</b></label>
					<div class="input-group mb-3">
					  	<div class="input-group-prepend">
					   		<button class="btn btn-pdefaultimary" type="button" disabled>RM</button>
					  	</div>
						<input type="text" class="form-control" name="statutory_zakat_deduction" value="<?php echo (!empty($statutory_details->ee_zakat_deduction))?number_format($statutory_details->ee_zakat_deduction,2):''; ?>">
					</div>
				</div>
			</div>
<!--akmal 20201229 new requirement to add % -->
			<div class="row">
				<div class="col-12 col-lg-6">
					<label><b>PCB Deduction %</b></label>
					<div class="input-group mb-3">
						  	<div class="input-group-prepend">
						    	<button class="btn btn-default" type="button" disabled>%</button>
						  	</div>
							<input type="text" class="form-control" name="statutory_pcb_deduction_percent" value="<?php echo (!empty($statutory_details->ee_pcb_deduction_percent))?number_format($statutory_details->ee_pcb_deduction_percent,1):''; ?>">
					</div>
				</div>
				<div class="col-12 col-lg-6">
					<label><b>Zakat Deduction %</b></label>
					<div class="input-group mb-3">
					  	<div class="input-group-prepend">
					   		<button class="btn btn-pdefaultimary" type="button" disabled>%</button>
					  	</div>
						<input type="text" class="form-control" name="statutory_zakat_deduction_percent" value="<?php echo (!empty($statutory_details->ee_zakat_deduction_percent))?number_format($statutory_details->ee_zakat_deduction_percent,1):''; ?>">
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-12 col-lg-6">
					<label><b>Statutory Status</b></label>
					<select class="form-control" name="statutory_status">
						<option value="1">Active</option>
						<option value="0">Inactive</option>
					</select>
				</div>
				<div class="col-12 col-lg-6">
					<label><b>Year</b></label>
					<input type="text" class="form-control" name="statutory_year" value="<?php echo (!empty($statutory_details->year))?$statutory_details->year:''; ?>">
				</div>
			</div>
	</div>
</section>
<!-- statutory details -->