M3 Integration fixes
This commit is contained in:
@@ -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' => '',
|
||||
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user