|
|
@@ -2269,7 +2269,7 @@ class WorkOrder extends Api
|
|
|
}else{
|
|
|
$number = $production[$key];
|
|
|
}
|
|
|
- if ((int)$value[$key-1]['Gy0_ls'] === 1 && $key>=1 && (int)$value['Gy0_ls'] > 1){
|
|
|
+ if ((int)$processList[$key-1]['Gy0_ls'] === 1 && $key>=1 && (int)$value['Gy0_ls'] > 1){
|
|
|
$number = $number/(int)$value['Gy0_ls'];
|
|
|
}
|
|
|
array_push($production,ceil($number-$wastage));
|