Commit 58649123 by Azhan Hannan

DASHBOARD STAFF/PM/HOD -> Timesheet Status. SUBMITTED ON - papar date dalam format dd-mm-yyyy.

DASHBOARD PM/HOD/HOU
1.Paparan data bagi ‘’ Phase’’ kena tukar untuk fahaman pengguna
2 rename ‘2nd halfmonth’
2. Susun semula kedudukan:
parent f6b4dbd5
...@@ -16,7 +16,9 @@ ...@@ -16,7 +16,9 @@
<thead> <thead>
<tr> <tr>
<th style="width: 40%;"><i class="dropdown icon"></i>{{ data_get($staff,'fullname') }}</th> <th style="width: 40%;"><i class="dropdown icon"></i>{{ data_get($staff,'fullname') }}</th>
<th style="width: 20%" class="text-center">{{ data_get($staff,'tm_year') }} - {{ date("F", mktime(0, 0, 0, data_get($staff,'tm_month'), 10)) }} - Phase {{ data_get($staff,'tm_phase') }}</th> <th style="width: 20%" class="text-center">
@if(data_get($staff,'tm_phase') == 1) 1st Halfmonth @else 2nd Half-month @endif - {{ date("F", mktime(0, 0, 0, data_get($staff,'tm_month'), 10)) }} - {{ data_get($staff,'tm_year') }}
</th>
<th style="width: 15%;" class="center aligned"> <th style="width: 15%;" class="center aligned">
<?php <?php
$over = 0; $over = 0;
...@@ -37,7 +39,7 @@ ...@@ -37,7 +39,7 @@
@elseif($staff->status == 1 || $staff->status == null) In Preparation @elseif($staff->status == 1 || $staff->status == null) In Preparation
@endif @endif
</th> </th>
<th style="width: 13%" class="text-center">Submitted on: {{data_get($staff,'submission')}}</th> <th style="width: 13%" class="text-center">Submitted on: {{ date("d-m-Y", strtotime(data_get($staff,'submission'))) }}</th>
<th style="width: 12%" class="text-center"> <th style="width: 12%" class="text-center">
<button class="center aligned ui blue icon button" onclick="window.location.href='{{ route('timesheet::dashboard.timesheetViewer', [ 'user'=>data_get($staff,'staff_id') ,'phase' => data_get($staff,'tm_phase'), 'month' => data_get($staff,'tm_month'), 'year' => data_get($staff,'tm_year') ]) }}';" target='_blank'>View</button> <button class="center aligned ui blue icon button" onclick="window.location.href='{{ route('timesheet::dashboard.timesheetViewer', [ 'user'=>data_get($staff,'staff_id') ,'phase' => data_get($staff,'tm_phase'), 'month' => data_get($staff,'tm_month'), 'year' => data_get($staff,'tm_year') ]) }}';" target='_blank'>View</button>
</th> </th>
......
...@@ -59,7 +59,9 @@ ...@@ -59,7 +59,9 @@
<thead> <thead>
<tr> <tr>
<th style="width: 40%;"><i class="dropdown icon"></i>{{ data_get($staff,'fullname') }}</th> <th style="width: 40%;"><i class="dropdown icon"></i>{{ data_get($staff,'fullname') }}</th>
<th style="width: 20%" class="text-center">{{ data_get($staff,'year') }} - {{ date("F", mktime(0, 0, 0, data_get($staff,'month'), 10)) }} - Phase {{ data_get($staff,'phase') }}</th> <th style="width: 20%" class="text-center">
@if(data_get($staff,'phase') == 1) 1st Halfmonth @else 2nd Half-month @endif - {{ date("F", mktime(0, 0, 0, data_get($staff,'month'), 10)) }} - {{ data_get($staff,'year') }}
</th>
<th style="width: 15%;" class="center aligned"> <th style="width: 15%;" class="center aligned">
<?php <?php
// dd($pmss); // dd($pmss);
...@@ -76,7 +78,7 @@ ...@@ -76,7 +78,7 @@
@elseif($status == 7) <i class="red attention icon"></i>Rejected by HR @elseif($status == 7) <i class="red attention icon"></i>Rejected by HR
@endif @endif
</th> </th>
<th style="width: 13%" class="text-center">Submitted on: {{data_get($staff,'submission')}}</th> <th style="width: 13%" class="text-center">Submitted on: {{ date("d-m-Y", strtotime(data_get($staff,'submission'))) }}</th>
<th style="width: 12%" class="text-center"> <th style="width: 12%" class="text-center">
<button class="center aligned ui blue icon button">View Details</button> <button class="center aligned ui blue icon button">View Details</button>
</th> </th>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment