removed changes in production target page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

This commit is contained in:
dhanabalan
2026-10-12 14:39:43 +05:30
parent 5db1fcd764
commit 41167f4cf5

View File

@@ -219,14 +219,7 @@ class ProductionTarget extends Page
$month = (int) $this->filters['month'] ?? null; $month = (int) $this->filters['month'] ?? null;
$category = $this->filters['category'] ?? null; $category = $this->filters['category'] ?? null;
if($category == '' || $category == null){ if($category == '' || $category == null){
// $this->dispatch('loadData',$year, $month, $plantId, $lineId, ''); $this->dispatch('loadData',$year, $month, $plantId, $lineId, '');
$this->dispatch(
'loadData',
(int) $year,
(int) $month,
(int) $plantId,
(int) $lineId
);
} }
else{ else{
$this->dispatch('loadDataCategory',$year, $month, $plantId, $lineId, $category); $this->dispatch('loadDataCategory',$year, $month, $plantId, $lineId, $category);