From e192196fe319f72cdaadaa80352d1f7a98874edb Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 30 Sep 2026 16:18:39 +0530 Subject: [PATCH] removed log for plan query time --- app/Livewire/ProductionTargetPlan.php | 4 ---- 1 file changed, 4 deletions(-) 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) {