Commit 207f333a by Azhan Hannan

report summary - (aq filter SPD, 2022, January. dekat excel dgn dekat report tak sama

parent e92c68af
...@@ -103,6 +103,7 @@ class RingkasanExport implements ShouldAutoSize, FromView, WithColumnWidths ...@@ -103,6 +103,7 @@ class RingkasanExport implements ShouldAutoSize, FromView, WithColumnWidths
'ovhours' => VwOverheadSummary::where('month', $month) 'ovhours' => VwOverheadSummary::where('month', $month)
->where('year', $year) ->where('year', $year)
->where('status', 4) ->where('status', 4)
->whereIn('staffid', $liststaffs)
->get(), ->get(),
'chargehours' => Tproject::where('tp_year', $year) 'chargehours' => Tproject::where('tp_year', $year)
...@@ -149,6 +150,7 @@ class RingkasanExport implements ShouldAutoSize, FromView, WithColumnWidths ...@@ -149,6 +150,7 @@ class RingkasanExport implements ShouldAutoSize, FromView, WithColumnWidths
'ovhours' => VwOverheadSummary::where('month', $month) 'ovhours' => VwOverheadSummary::where('month', $month)
->where('year', $year) ->where('year', $year)
->where('status', 4) ->where('status', 4)
->whereIn('staffid', $liststaffs)
->get(), ->get(),
'chargehours' => Tproject::where('tp_year', $year) 'chargehours' => Tproject::where('tp_year', $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