Commit 088da0fa by Azhan Hannan

changes on date format

parent d7df5de7
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
@endif @endif
</th> </th>
<th style="width: 15%" class="text-center">Verified at: <th style="width: 15%" class="text-center">Verified at:
{{ date("d-m-Y", strtotime(data_get($staff,'verified'))) }} {{ date("d/m/Y", strtotime(data_get($staff,'verified'))) }}
</th> </th>
<th style="width: 10%" class="text-center"> <th style="width: 10%" class="text-center">
<button class="center aligned ui blue icon button single line">View Details</button> <button class="center aligned ui blue icon button single line">View Details</button>
......
...@@ -39,7 +39,7 @@ ...@@ -39,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: {{ date("d-m-Y", strtotime(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>
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,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: {{ date("d-m-Y", strtotime(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>
......
...@@ -78,7 +78,7 @@ ...@@ -78,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: {{ date("d-m-Y", strtotime(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