M3 Security Fixes for Pass 34
This commit is contained in:
@@ -22,12 +22,12 @@ class palletQtyController extends Controller
|
||||
$co = $power_user->R428CO;
|
||||
$plant = $power_user->R428PL;
|
||||
$whs = $power_user->R428WH;
|
||||
$ICM709M = Schema::connection($connection)->hasTable('icm709m')
|
||||
$iCM709M = Schema::connection($connection)->hasTable('icm709m')
|
||||
? DB::connection($connection)->table('icm709m')->where('AT9CO', $co)->where('AT9PLT', $plant)->where('AT9WHS', $whs)->get() : collect();
|
||||
$IC670M = Schema::connection($connection)->hasTable('ic670m')
|
||||
$iC670M = Schema::connection($connection)->hasTable('ic670m')
|
||||
? DB::connection($connection)->table('ic670m')->where('WDCO', $co)->where('WDPL', $plant)->where('WDWHS', $whs)->get() : collect();
|
||||
|
||||
return view('m3::liberty-theme.pages.palletQty', compact('ICM709M', 'IC670M', 'power_user'));
|
||||
return view('m3::liberty-theme.pages.palletQty', ['ICM709M' => $iCM709M, 'IC670M' => $iC670M, 'power_user' => $power_user]);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user