Commit 3925600c by Azhan Hannan

changes

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