Browse Source

clean codes

pull/3/head
Muhammad Sulaiman Yusuf 3 years ago
parent
commit
7864a24801
  1. 5
      app/Http/Controllers/Controller.php

5
app/Http/Controllers/Controller.php

@ -251,11 +251,6 @@ class Controller extends BaseController
return $totalCost; return $totalCost;
} }
private function calculateToolsCost($activity_id, $proyek_id)
{
}
protected function updatedCostPlanning($id) protected function updatedCostPlanning($id)
{ {
$sumBiaya = Activity::select(DB::raw('sum(cast(rencana_biaya as double precision))'))->where("parent_id", $id)->first(); $sumBiaya = Activity::select(DB::raw('sum(cast(rencana_biaya as double precision))'))->where("parent_id", $id)->first();

Loading…
Cancel
Save