M3 Integration fixes

This commit is contained in:
Mark Gregory
2026-09-22 11:21:09 +01:00
parent 9928750bc2
commit 4be07c8456
5 changed files with 235 additions and 198 deletions
@@ -55,6 +55,14 @@ class FillBOLController extends Controller
}
private static function bolFormData(Request $bOL): array
{
return array_merge(
self::bolPrimaryFields($bOL),
self::bolRemainingFields()
);
}
private static function bolPrimaryFields(Request $bOL): array
{
return [
'DTESHIPED.1' => date('d/m/Y'),
@@ -125,7 +133,13 @@ class FillBOLController extends Controller
'LNITEMCLAS17' => '',
'TYPEANDESCPTN.17' => '',
'PKGTYPECOUNT17' => '',
'LNITEMWT16' => '',
];
}
private static function bolRemainingFields(): array
{
return [
'LNITEMWT16' => '',
'CLASSORATE16' => '',
'LNITEMCLAS16' => '',
'TYPEANDESCPTN.16' => '',
@@ -212,7 +226,7 @@ class FillBOLController extends Controller
'BILLTOADDR' => '',
'NUMDROPS' => '',
];
}
}