Merge pull request 'ranjith-dev' (#1226) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Reviewed-on: #1226
This commit was merged in pull request #1226.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ use Livewire\Component;
|
|||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use DB;
|
use DB;
|
||||||
use Maatwebsite\Excel\Facades\Excel;
|
use Maatwebsite\Excel\Facades\Excel;
|
||||||
use Livewire\Attributes\On;
|
|
||||||
|
|
||||||
class ProductionTargetPlan extends Component
|
class ProductionTargetPlan extends Component
|
||||||
{
|
{
|
||||||
@@ -455,8 +454,6 @@ class ProductionTargetPlan extends Component
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#[On('loadData')]
|
|
||||||
public function loadProductionData($year, $month, $plantId, $lineId)
|
public function loadProductionData($year, $month, $plantId, $lineId)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user