stock controller fix
This commit is contained in:
parent
f4179889f8
commit
0e6cf2d8ff
@ -1209,7 +1209,7 @@ class StockController extends BaseController
|
|||||||
|
|
||||||
if(!empty($previousMonthCustomMachineCodes)){
|
if(!empty($previousMonthCustomMachineCodes)){
|
||||||
$existingCustomMachineCodes = $this->factoryMachine_model
|
$existingCustomMachineCodes = $this->factoryMachine_model
|
||||||
->getSelectedDieselMachines(array_column($previousMonthCustomMachineCodes, 'machine_id'));
|
->getSelectedElectricMachines(array_column($previousMonthCustomMachineCodes, 'machine_id'));
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
// inserting all active if no previous month present
|
// inserting all active if no previous month present
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user