Skip to content

Commit

Permalink
Merge pull request #356 from dcsaorg/DDT-1469
Browse files Browse the repository at this point in the history
DDT-1469: update carrier service code max length
  • Loading branch information
Abdiiir authored Jan 23, 2023
2 parents eb78475 + 05f2c9c commit 0a35ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class TransportCallCreatorComponent implements OnInit {
this.portOfCalls$ = this.portService.getPorts();
this.transportCallFormGroup = this.formBuilder.group({
timestampChecking: new FormControl(null),
serviceCode: new FormControl(null, [Validators.required, Validators.maxLength(5)]),
serviceCode: new FormControl(null, [Validators.required, Validators.maxLength(11)]),
exportVoyageNumber: new FormControl(null, [Validators.required, Validators.maxLength(50)]),
importVoyageNumber: new FormControl(null, [Validators.maxLength(50)]),
port: new FormControl(null, [Validators.required]),
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
},
"carrierServiceCode": {
"empty": "Carrier Service Code is required!",
"length": "Max length for Carrier Service Code is 5 characters!"
"length": "Max length for Carrier Service Code is 11 characters!"
},
"carrierVoyageNumber": {
"empty": "Carrier Voyage Number is required!",
Expand Down

0 comments on commit 0a35ca7

Please sign in to comment.