Commit 825adfa8 by Azhan Hannan

raudah punye overhead belum lulus tp dah ada value dalam excel.

parent 207f333a
......@@ -71,7 +71,7 @@
$chargehour = $chargehours->where('staffid', data_get($staff,'staffid'));
?>
@if(count($chargeprojects) > 0)
@foreach($chargeprojects as $key => $chargeable)
@foreach($chargeprojects as $key => $chargeable)
<td class="center aligned">
<?php
$monthly_hours = 0;
......
......@@ -71,9 +71,8 @@ class ReportController extends Controller
->where('year', $request->year)
->where('status', 4)
->get();
// dd($ringkasan);
$overhead = Overhead::where('o_overhead_sts', 1)->get();
$liststaffs = [];
......@@ -116,6 +115,7 @@ class ReportController extends Controller
->whereIn('staffid', $liststaffs)
->where('tp_timesheet_sts', 4)
->get();
// dd($chargehours);
$chargeprojects = Tproject::select('td_project', 'tp_year', 'tp_month', 'tp_project_name')
->where('tp_year', $request->year)
......
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