|
@@ -18,16 +18,18 @@
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
<th>Date</th>
|
|
<th>Date</th>
|
|
- <th>Day</th>
|
|
|
|
<th>Total hrs.</th>
|
|
<th>Total hrs.</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
|
|
+ <?php
|
|
|
|
+ $dowMap = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
|
|
|
+ ?>
|
|
@foreach($view_treatment_service_utilization_org as $x)
|
|
@foreach($view_treatment_service_utilization_org as $x)
|
|
<tr>
|
|
<tr>
|
|
- <td>{{$x->effective_date}}</td>
|
|
|
|
<td>
|
|
<td>
|
|
- {{ date('w', strtotime($x->effective_date)) }}
|
|
|
|
|
|
+ {{$x->effective_date}} ---
|
|
|
|
+ {{ $dowMap[date('w', strtotime($x->effective_date))] }}
|
|
</td>
|
|
</td>
|
|
<td>{{$x->total_hrs}}</td>
|
|
<td>{{$x->total_hrs}}</td>
|
|
</tr>
|
|
</tr>
|
|
@@ -52,7 +54,10 @@
|
|
@foreach($view_treatment_service_utilization as $x)
|
|
@foreach($view_treatment_service_utilization as $x)
|
|
<tr>
|
|
<tr>
|
|
<td>{{$x->name_last}}, {{$x->name_first}}</td>
|
|
<td>{{$x->name_last}}, {{$x->name_first}}</td>
|
|
- <td>{{$x->effective_date}}</td>
|
|
|
|
|
|
+ <td>
|
|
|
|
+ {{$x->effective_date}} ---
|
|
|
|
+ {{ $dowMap[date('w', strtotime($x->effective_date))] }}
|
|
|
|
+ </td>
|
|
<td>{{$x->total_hrs}}</td>
|
|
<td>{{$x->total_hrs}}</td>
|
|
</tr>
|
|
</tr>
|
|
@endforeach
|
|
@endforeach
|