Merge pull request #338 from dod-ccpo/make-ba-code-optional
Make BA code optional
This commit is contained in:
commit
0c828fde1c
@ -122,7 +122,7 @@ class BaseFinancialForm(ValidatedForm):
|
||||
|
||||
ba_code = StringField(
|
||||
"Program Budget Activity (BA) Code",
|
||||
description="BA Code is used to identify the purposes, projects, or types of activities financed by the appropriation fund. <br/><em>It should be two digits, followed by a letter.</em>",
|
||||
description="BA Code is used to identify the purposes, projects, or types of activities financed by the appropriation fund. <br/><em>It should be two digits, followed by an optional letter.</em>",
|
||||
validators=[Required(), Regexp(BA_CODE_REGEX)],
|
||||
)
|
||||
|
||||
|
@ -77,7 +77,7 @@ export default {
|
||||
},
|
||||
match: /[0-9]{2}\w?$/,
|
||||
unmask: [],
|
||||
validationError: 'Please enter a valid BA Code. Note that it should be two digits, followed by a letter.'
|
||||
validationError: 'Please enter a valid BA Code. Note that it should be two digits, followed by an optional letter.'
|
||||
},
|
||||
workspaceName: {
|
||||
mask: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user