M3 Security Fixes for Pass 34

This commit is contained in:
Mark Gregory
2026-09-17 12:04:08 +01:00
parent 0a05f05843
commit e1824f399e
69 changed files with 1804 additions and 1791 deletions
@@ -38,12 +38,12 @@ class ShipToController extends Controller
public function create()
{
// US
$USstates = USStates::all();
$uSstates = USStates::all();
// CA
$CAstates = CAProvinces::all();
$cAstates = CAProvinces::all();
// All States
$states = array_merge($USstates, $CAstates);
$states = array_merge($uSstates, $cAstates);
return view('m3::liberty-theme.pages.ship-to.create', compact('states'));
}
@@ -104,12 +104,12 @@ class ShipToController extends Controller
public function edit($aushshzp, $aushwhs)
{
// US
$USstates = USStates::all();
$uSstates = USStates::all();
// CA
$CAstates = CAProvinces::all();
$cAstates = CAProvinces::all();
// All States
$states = array_merge($USstates, $CAstates);
$states = array_merge($uSstates, $cAstates);
$shipTo = ShipTo::where('AUSHSHZP', $aushshzp)
->where('AUSHWHS', $aushwhs)