diff --git a/application/modules/Layout/views/includes/employee_menu.php b/application/modules/Layout/views/includes/employee_menu.php index 98b1032..b38f90c 100644 --- a/application/modules/Layout/views/includes/employee_menu.php +++ b/application/modules/Layout/views/includes/employee_menu.php @@ -1,4 +1,4 @@ - diff --git a/application/modules/Leave/views/leavehistory.php b/application/modules/Leave/views/leavehistory.php index f5b35f8..e7b1d75 100644 --- a/application/modules/Leave/views/leavehistory.php +++ b/application/modules/Leave/views/leavehistory.php @@ -1,10 +1,10 @@ - + @@ -28,7 +28,7 @@ type: 'success', styling: 'bootstrap3' });">Success - + session->unset_userdata('Success');?> - + - +

My Leaves

@@ -65,8 +65,8 @@ - - + + @@ -80,7 +80,7 @@ id == $value->emp_id) { ?> $type) { ?> id === $value->type ) { ?> - + @@ -88,18 +88,18 @@ from_date == "" && $value->to_date == "") { ?> - + no_of_days == 0){ ?> - + status == 'pending'){ ?> status == 'canceled'){ ?> status == 'withdraw-pending'){ ?> + + status == 'Withdraw-declined'){ ?> + + status == 'Withdraw-Approved'){ ?> + + - + @@ -151,13 +166,13 @@ var id = $(this).attr('id'); var url = "Employee/deleteEmp"; - $.ajax({ + $.ajax({ url: "Employee/getDeleteConfirmationPopup", type:"GET", success:function(data){ $('#popup').html(JSON.parse(data)); $('.delete_id').attr('value',id); - $('.delete_url').attr('action',url); + $('.delete_url').attr('action',url); } }); }); @@ -165,7 +180,7 @@ $(document).on('click','.bi-card-list',function(){ var id = $(this).attr("id") - $.ajax({ + $.ajax({ type: "get", url: "Employee/view_emp_history/"+id, success: function(response) {
Created Date/TimeCreated Date/Time Leave Type Leave Duration No of Days
created_date; ?>
created_time; ?>
perm_date);?>
- from_time); ?> to + from_time); ?> to to_time);; ?>
from_date); echo ' to ';?> to_date);?> --- no_of_days; ?> status; ?> status; ?> status; ?>status; ?> By DeclineBy; ?>
DReason; ?>
status; ?> status == 'pending') { ?>     + status == 'Approved') { ?> + +   + + -