175 lines
6.2 KiB
PHP
175 lines
6.2 KiB
PHP
<div class="modal fade" id="form32" role="dialog" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
|
|
</div>
|
|
<form role="form" id="form_32" name="form_32" action="#" method="post">
|
|
<div class="modal-body">
|
|
|
|
<h3>
|
|
<center>FORM-7</center>
|
|
</h3>
|
|
<div class="row">
|
|
<div class="col-sm-12 table-responsive">
|
|
|
|
|
|
<table id="table1" class="table table-striped table-bordered ordered-list" style="padding: 2px; margin: 2px;">
|
|
<thead>
|
|
|
|
<tr class="success">
|
|
|
|
<!-- <th style="font-size: 9px; text-align: center;">Date of posting</th> -->
|
|
<th style="font-size: 9px; text-align: center;">Date of leaving / transfer other work</th>
|
|
<th style="font-size: 9px; text-align: center;">Reason for discharge/transfer to other work</th>
|
|
<th style="font-size: 9px; text-align: center;">Tests</th>
|
|
<!-- <th style="font-size: 9px; text-align: center;">Nature of tests and result thereof</th> -->
|
|
|
|
</tr>
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
<!-- <td><input type="text" name="date_posting" id="date_posting" class="form-control"></td> -->
|
|
<td> <input type="hidden" name="checkup_id32" id="checkup_id32"><input type="date" name="date_leaving" id="date_leaving" class="form-control"></td>
|
|
<td><input type="text" name="reason_for_discharge" id="reason_for_discharge" class="form-control"></td>
|
|
<td> <textarea class="form-control" name="signs_symptoms" id="signs_symptoms" cols="30" rows="10"><?php echo "General Physical Examination,Eye Examination,Blood Investigations,Urine Investigations,Systemic Examination,Ecg,Audiometry,Spirometry,X Ray Chest." ?></textarea></td>
|
|
<!-- <td>
|
|
<input type="text" name="nature_tests" id="nature_tests" class="form-control">
|
|
</td> -->
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table id="table1" class="table table-striped table-bordered ordered-list" style="padding: 2px; margin: 2px;">
|
|
<thead>
|
|
|
|
<tr class="success">
|
|
|
|
|
|
<th style="font-size: 9px; text-align: center;">Period of temporary withdrawal from that work</th>
|
|
<th style="font-size: 9px; text-align: center;">Reason for such withdrawal</th>
|
|
<th style="font-size: 9px; text-align: center;">Date of declaring unfit for that work</th>
|
|
<th style="font-size: 9px; text-align: center;">Date of issuing fitness certificate</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td><input type="text" name="period_temp_withdrawal" id="period_temp_withdrawal" class="form-control"></td>
|
|
<td><input type="text" name="reason_withdrawal" id="reason_withdrawal" class="form-control"></td>
|
|
<td><input type="date" name="date_unfit" id="date_unfit" class="form-control "></td>
|
|
<td><input type="date" name="date_fitness" id="date_fitness" class="form-control"></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-info btn-sm save_button" onclick="save_form32();">
|
|
SAVE
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-danger btn-sm" data-dismiss="modal">
|
|
<i class="ace-icon fa fa-times bigger-110"></i>CANCEL
|
|
</button>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<script type="text/javascript">
|
|
function save_form32() {
|
|
$.ajax({
|
|
url: 'save_form32.php',
|
|
type: "POST",
|
|
data: $("#form_32").serialize(),
|
|
success: function(data) {
|
|
|
|
|
|
BootstrapDialog.alert('Details Saved Successfully.');
|
|
|
|
},
|
|
error: function(data) {
|
|
BootstrapDialog.alert('Error Saving Details');
|
|
//return;
|
|
}
|
|
});
|
|
}
|
|
|
|
|
|
|
|
$('.datepicker').datepicker({
|
|
format: 'dd/mm/yyyy', //use this option to display seconds
|
|
'setDate': new Date(),
|
|
endDate: "+1d",
|
|
minDate: new Date() - 10,
|
|
icons: {
|
|
time: 'fa fa-clock-o',
|
|
date: 'fa fa-calendar',
|
|
up: 'fa fa-chevron-up',
|
|
down: 'fa fa-chevron-down',
|
|
previous: 'fa fa-chevron-left',
|
|
next: 'fa fa-chevron-right',
|
|
today: 'fa fa-arrows ',
|
|
clear: 'fa fa-trash',
|
|
close: 'fa fa-times'
|
|
}
|
|
})
|
|
</script>
|
|
|
|
<link rel="stylesheet" href="assets/font-awesome/4.5.0/css/font-awesome.min.css" />
|
|
|
|
<!-- page specific plugin styles -->
|
|
<link rel="stylesheet" href="assets/css/jquery-ui.custom.min.css" />
|
|
<link rel="stylesheet" href="assets/css/chosen.min.css" />
|
|
<link rel="stylesheet" href="assets/css/bootstrap-datepicker3.min.css" />
|
|
<link rel="stylesheet" href="assets/css/bootstrap-timepicker.min.css" />
|
|
<link rel="stylesheet" href="assets/css/daterangepicker.min.css" />
|
|
<link rel="stylesheet" href="assets/css/bootstrap-datetimepicker.min.css" />
|
|
<link rel="stylesheet" href="assets/css/bootstrap-colorpicker.min.css" />
|
|
<script type="text/javascript" src="js/typeahead.bundle.js"></script>
|
|
<script src="assets/js/jquery-ui.custom.min.js"></script>
|
|
<script src="assets/js/jquery.ui.touch-punch.min.js"></script>
|
|
<script src="assets/js/chosen.jquery.min.js"></script>
|
|
<script src="assets/js/spinbox.min.js"></script>
|
|
<script src="assets/js/bootstrap-datepicker.min.js"></script>
|
|
<script src="assets/js/bootstrap-timepicker.min.js"></script>
|
|
<script src="assets/js/jquery.dataTables.min.js"></script>
|
|
<script src="assets/js/jquery.dataTables.bootstrap.min.js"></script>
|
|
<script src="assets/js/dataTables.buttons.min.js"></script>
|
|
<script src="assets/js/buttons.flash.min.js"></script>
|
|
<script src="assets/js/buttons.html5.min.js"></script>
|
|
<script src="assets/js/buttons.print.min.js"></script>
|
|
<script src="assets/js/buttons.colVis.min.js"></script>
|
|
<script src="assets/js/dataTables.select.min.js"></script>
|
|
|
|
|
|
<script src="assets/js/moment.min.js"></script>
|
|
<script src="assets/js/daterangepicker.min.js"></script>
|
|
<script src="assets/js/bootstrap-datetimepicker.min.js"></script>
|
|
<script src="assets/js/bootstrap-colorpicker.min.js"></script>
|
|
<script src="assets/js/jquery.knob.min.js"></script>
|
|
<script src="assets/js/autosize.min.js"></script>
|
|
<script src="assets/js/jquery.inputlimiter.min.js"></script>
|
|
<script src="assets/js/jquery.maskedinput.min.js"></script>
|
|
<script src="assets/js/bootstrap-tag.min.js"></script>
|
|
<script src="assets/js/ace-elements.min.js"></script>
|