diff --git a/app/Livewire/ProductionTargetPlan.php b/app/Livewire/ProductionTargetPlan.php index 8ced95fd..e47cdd05 100644 --- a/app/Livewire/ProductionTargetPlan.php +++ b/app/Livewire/ProductionTargetPlan.php @@ -468,8 +468,6 @@ class ProductionTargetPlan extends Component $dates = $this->getMonthDates($month, $year); $this->dates = $dates; - $start = microtime(true); - $plans = ProductionPlan::query() ->join('items', 'items.id', '=', 'production_plans.item_id') ->join('lines', 'lines.id', '=', 'production_plans.line_id') @@ -495,8 +493,6 @@ class ProductionTargetPlan extends Component ) ->get(); - Log::info('Plans: ' . ((microtime(true) - $start) * 1000) . ' ms'); - $leaveDates = []; if ($plans->isNotEmpty() && $plans[0]->leave_dates) {