|
|
@ -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(); |
|
|
|