Commit 3925600c by Azhan Hannan

changes

parent e74afdb9
...@@ -160,8 +160,8 @@ ...@@ -160,8 +160,8 @@
<td style="width: 5%">{{ number_format($totalcharge, 1, '.', '') }}</td> <td style="width: 5%">{{ number_format($totalcharge, 1, '.', '') }}</td>
<td style="width: 5%">{{ number_format($totalcharge/8, 1, '.', '') }}</td> <td style="width: 5%">{{ number_format($totalcharge/8, 1, '.', '') }}</td>
@else @else
<td style="width: 5%"></td> <td style="width: 5%">0</td>
<td style="width: 5%"></td> <td style="width: 5%">0</td>
@endif @endif
</tr> </tr>
......
...@@ -1252,7 +1252,7 @@ class DashboardController extends Controller ...@@ -1252,7 +1252,7 @@ class DashboardController extends Controller
$profile = VwViewer::where('STAFF_ID', $user->staff_id) $profile = VwViewer::where('STAFF_ID', $user->staff_id)
->orderby('DEPARTMENT', 'DESC') ->orderby('DEPARTMENT', 'DESC')
->first(); ->first();
// dd($profile); // dd($user->staff_id);
$dept = Department::where('id', $user->fk_lkp_department) $dept = Department::where('id', $user->fk_lkp_department)
->first(); ->first();
......
...@@ -1100,7 +1100,8 @@ class FormController extends Controller ...@@ -1100,7 +1100,8 @@ class FormController extends Controller
} }
} }
$halfday = $lat->where('attendance_status', 1)->whereIn('jenis_cuti', ['AL(m)','AL (e)']); // $halfday = $lat->where('attendance_status', 1)->whereIn('jenis_cuti', ['AL(m)','AL (e)']);
$halfday = $lat->whereIn('jenis_cuti', ['AL(m)','AL (e)']);
// dd($halfday); // dd($halfday);
if (count($halfday) > 0) { if (count($halfday) > 0) {
foreach ($halfday as $key => $value) { foreach ($halfday as $key => $value) {
......
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