M3 Security Fixes for Pass 35
This commit is contained in:
@@ -66,6 +66,7 @@ class utilitiesContoller extends Controller
|
||||
// Add Delivery Note Param
|
||||
$params[] = $conn->AddParameterPackDec('in', 11, 0, 'ParamIn', '', '00000087125');
|
||||
|
||||
|
||||
// Start Time Tracking
|
||||
$start = microtime(true);
|
||||
|
||||
@@ -171,7 +172,7 @@ class utilitiesContoller extends Controller
|
||||
|
||||
dump('ICM688M2 Record: ' . $a5MACPKR . '-' . $a5SENTPKR);
|
||||
|
||||
$iCM799MINS = DB::connection(config('m3.connection', 'pgsql'))->table('icm799m')
|
||||
DB::connection(config('m3.connection', 'pgsql'))->table('icm799m')
|
||||
->where('IMDELNO', '=', $a5MACPKR)
|
||||
->update(['IMSENTPKR' => $a5SENTPKR]);
|
||||
}
|
||||
@@ -355,7 +356,7 @@ class utilitiesContoller extends Controller
|
||||
$packageNum++;
|
||||
|
||||
// Insert new Record to ICM695M3 $gs1_128_bc
|
||||
$iCM695M3SQLInsert = DB::connection(config('m3.connection', 'pgsql'))->table('icm695m3')
|
||||
DB::connection(config('m3.connection', 'pgsql'))->table('icm695m3')
|
||||
->insert(['A2CO' => $cOMPANY, 'A2WHS' => $wHS, 'A2PLANT' => $pLANT, 'A2MACPKR' => $macpkr, 'A2GS1LABEL' => $gs1_128_bc, 'A2INTBOX' => $a2INTBOX]);
|
||||
|
||||
Log::channel('LabelCron')->info('<<< GS1-128...End of Label Creation for Mackpkr: ' . $macpkr);
|
||||
@@ -398,9 +399,10 @@ class utilitiesContoller extends Controller
|
||||
}
|
||||
|
||||
// # Insert new Record to ICM695M3 $gs1_128_bc
|
||||
// $iCM695M3SQLInsert = DB::connection(config('m3.connection', 'pgsql'))->table('icm695m3')
|
||||
// DB::connection(config('m3.connection', 'pgsql'))->table('icm695m3')
|
||||
// ->insert(['A2CO'=> $cOMPANY,'A2WHS'=> $wHS,'A2MACPKR'=> $macpkr,'A2GS1LABEL'=> $gs1_128_bc]);
|
||||
|
||||
|
||||
return json_encode(['result' => 'success', 'GS1File' => $gS1FileNameNoRoot]);
|
||||
|
||||
} catch (\Throwable $th) {
|
||||
@@ -517,6 +519,7 @@ class utilitiesContoller extends Controller
|
||||
</body>
|
||||
</html>';
|
||||
|
||||
|
||||
// Initialize Dompdf
|
||||
$dompdf = new Dompdf;
|
||||
$dompdf->loadHtml($html);
|
||||
|
||||
Reference in New Issue
Block a user