removed log for plan query time #1141
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user