m3 Security Fixes

This commit is contained in:
Mark Gregory
2026-09-16 17:14:26 +01:00
parent 1602bdd72e
commit d68687f062
78 changed files with 1297 additions and 1228 deletions
+6 -7
View File
@@ -8,7 +8,7 @@ return [
#'nonWorkingHourCode' => ['73,85,89,90,91,92,86,99'],
'autorefresh_all' => ['00:15'],
'autorefresh_notall' => ['00:15'],
'payrollCodes' => ['33,49,75,94,98,102,171'],
'min_work_hours_for_break' => ['4'],
@@ -57,7 +57,7 @@ return [
'PHPTimeOutCL'=> 1000,
'maxRecDL' => 20000,
'maxRecCL' => 55000,
'BadChars' => ['–','\t','\n','\u20134807','\u20131','\u201333','\u2013671' ,'Ÿ','á', 'é', 'í', 'ó' ,'ú','“','”'],
'BadChars' => ['–','\t','\n','\u20134807','\u20131','\u201333','\u2013671' ,'Ÿ','á', 'é', 'í', 'ó' ,'ú','“','”'],
'PdfPath' => env('M3_LABELS_PATH', storage_path('app/m3/labels') . DIRECTORY_SEPARATOR), # Warning : The path for PDF storage is shared by all Instances and should not be altered
'DUMMYPDF' => '',
'uom_size' => ['110-142-303'=>'mm',
@@ -68,7 +68,7 @@ return [
'110-143-322'=>'lbs'], # unit of mesure for boxes weight kg or lbs
#STATUS ARRAY FOR ICM688M1
'status_ICM688M1_array' => [
'status_ICM688M1_array' => [
"P"=>"Pending error checking by splitting (OP510E2)",
"H"=>"Hold as error found (OP510E3)",
"L"=>"Ready to pick",
@@ -81,18 +81,17 @@ return [
"A"=>"ShipConfirmed" ],
'whsePerf_targets' => [
'all_notes'=>'90', 'all_dollars'=>'85', 'all_weight'=>'90',
'all_notes'=>'90', 'all_dollars'=>'85', 'all_weight'=>'90',
'ltl_notes'=>'90', 'ltl_dollars'=>'95', 'ltl_weight'=>'99',
'parcel_notes'=>'90', 'parcel_dollars'=>'75', 'parcel_weight'=>'80'
],
'2Ship' => [
# 2Ship WS_Key
# live $TwoShip_Key="FED945D1-5DC7-415E-BDAB-16347E7C1304";
# test $TwoShip_Key="45027F2A-EDA6-4C16-8AD4-9BC70CE94AB8";
# live $TwoShip_Key="FED945D1-5DC7-415E-BDAB-16347E7C1304";
# test $TwoShip_Key="45027F2A-EDA6-4C16-8AD4-9BC70CE94AB8";
'TwoShip_Key' => "45027F2A-EDA6-4C16-8AD4-9BC70CE94AB8",
'end_point' =>"https://euroapi.2ship.com/api/",
'hold_update' =>"UpdateOnHoldOrder_V1",
],
];
+12 -12
View File
@@ -14,7 +14,7 @@ return [
'171'=>'17'
]
];
# '75'=>'26',
# '75'=>'23',
@@ -22,19 +22,19 @@ return [
# Found in BLDPERFST rpg pgm in EWRPGSRC / EWSRCTST
# PICKING stats
# when a5sentview in ('7','9') then 33
# when a5sentview = 5 then 49
# when a5sentview = 12 then 98
# when a5sentview in ('2','10') then 75
# when a5sentview in ('1','3','4','11') then 94
# when a5sentview = 8 then 102
# when a5sentview = 6 then 171
# else 999
# when a5sentview in ('7','9') then 33
# when a5sentview = 5 then 49
# when a5sentview = 12 then 98
# when a5sentview in ('2','10') then 75
# when a5sentview in ('1','3','4','11') then 94
# when a5sentview = 8 then 102
# when a5sentview = 6 then 171
# else 999
# PACKING stats
# case when (select AYTYPE from ICM695M1
# where AYINTBOX=AZINTBOX
# and AYSENTPKR=AZSENTPKR FETCH FIRST ROW ONLY)
# case when (select AYTYPE from ICM695M1
# where AYINTBOX=AZINTBOX
# and AYSENTPKR=AZSENTPKR FETCH FIRST ROW ONLY)
# in ('','BX') then '16' else '66' end as AYTYPE,
?>