Commit 825adfa8 by Azhan Hannan

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

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