93 Commits

Author SHA1 Message Date
leigh-mil
6ad4f4c077 Fix name of test 2018-10-24 10:08:49 -04:00
leigh-mil
d474091f5e Add more invalid test cases 2018-10-23 17:15:50 -04:00
leigh-mil
aad62853bc Update test name 2018-10-23 13:18:01 -04:00
richard-dds
e40c6c67a3 Fix financial form tests 2018-10-23 11:45:09 -04:00
richard-dds
0439525f0f Refactor fv form to separate TO from request 2018-10-23 11:45:09 -04:00
richard-dds
f56dd5621e Revive suggest_pe_id tests 2018-10-23 11:45:09 -04:00
richard-dds
e72b980d94 Refactor FinVer to make room for draft feature 2018-10-23 11:45:09 -04:00
leigh-mil
13763d8750 Change name of validator to Name because it is more descriptive 2018-10-23 11:22:16 -04:00
leigh-mil
6a15a6ca7b Update tests to reflect new Alphabet validators 2018-10-18 16:35:28 -04:00
Montana
5561bdc44c Fix deprecation warnings 2018-09-28 10:05:20 -04:00
dandds
ec5c3e8ce8 add request name 2018-09-19 10:44:21 -04:00
richard-dds
b42b9812b0 Validate that start_date is in the future 2018-09-18 17:01:09 -04:00
dandds
d17e6159dd use InputRequired validation for clin fields 2018-09-12 17:00:39 -04:00
dandds
e863f85319 rename and consolidate new request forms into one namespace 2018-09-07 13:19:43 -04:00
dandds
59fdad8554 use regular WTForms DateField for requests dates 2018-09-04 16:15:36 -04:00
richard-dds
7ecc836033
Merge pull request #213 from dod-ccpo/fix-new-workspace-redirect
Redirect to projects/new after FV-related request approval
2018-08-24 16:09:06 -04:00
richard-dds
92080abe0a Rename test to be more accurate 2018-08-24 15:26:38 -04:00
richard-dds
9dcbb814de Formatting 2018-08-24 13:55:14 -04:00
richard-dds
66877b46bd Ensure that project environment names are unique 2018-08-24 13:53:25 -04:00
richard-dds
d71f3dfc27 Formatting 2018-08-24 13:03:05 -04:00
richard-dds
27601300aa Simplify BA code valdiation 2018-08-24 12:01:34 -04:00
richard-dds
daa8634cb4 Format project 2018-08-23 16:25:36 -04:00
dandds
6c67166e86 persist partial financial form data if task order number not found 2018-08-23 09:11:21 -04:00
dandds
a2c1e12bac
Merge pull request #191 from dod-ccpo/to-not-found-#159087193
Task Order number not found #159087193
2018-08-21 16:16:19 -04:00
dandds
1a9606f2b8 TaskOrders gets EDA client from current Flask app 2018-08-21 14:10:24 -04:00
dandds
a50b855389 task_order_id -> task_order_number 2018-08-21 10:10:28 -04:00
dandds
4c1ffecea5 basic task order number validation 2018-08-21 08:56:23 -04:00
dandds
735b9b5179 show or hide manual TO fields based on query param 2018-08-20 15:51:32 -04:00
Patrick Smith
364d452598 Add missing required validators 2018-08-20 11:42:32 -04:00
richard-dds
06c44f86c9 Fix tests, linting errors 2018-08-17 14:36:04 -04:00
richard-dds
57fd5eb57c Add regex validations for treasury_code and ba_code 2018-08-17 14:36:03 -04:00
richard-dds
59b5e19c79 Funding type other input is only required if funding type is other 2018-08-17 14:36:03 -04:00
richard-dds
070fe823d3 Fix bug in UII field
Was displaying an empty list of UIIs as [''] in the textarea
2018-08-17 14:36:03 -04:00
dandds
9514556797 fix tests for new request field values 2018-08-15 10:49:48 -04:00
Patrick Smith
0ccdb8ecfd Show/hide additional fields when annual is more than a million 2018-08-13 11:29:50 -04:00
Patrick Smith
3e6c4d7f13 Update flask form to require fields only when appropriate 2018-08-13 11:29:25 -04:00
richard-dds
44b715fc01 Allow for multiple date formats 2018-07-31 15:16:04 -04:00
Luis Cielak
2010fb6564 Remove test 2018-07-30 15:33:05 -04:00
Patrick Smith
8e427aaf55 Suggest a PE number when PE number is not found
Using the defined format of a PE number
(https://www.militaryperiscope.com/terms/t0000241.html), we can suggest
a corrected format of the PE number if the user omitted the leading
zeros for either the DoD program or category.
2018-07-24 10:14:48 -04:00
Patrick Smith
3925007489 Add tests for some validators 2018-07-11 10:54:04 -04:00
luisgov
9d781577c4 Update request form (#45)
* Implement OrganizationInfo form, add it to the template

* Format request_new

* Update "Details of Use" section

* Refactor request_new

* Added some new fields, but form is still WIP

* Add details of use fields

* Add org info fields

* Add some comments

* Add Financial Verification and more Details of Use fields

* Update some textarea fields to single text field

* WIP

* Implement OrganizationInfo form, add it to the template

* Format request_new

* Update "Details of Use" section

* Refactor request_new

* Added some new fields, but form is still WIP

* Add details of use fields

* Add org info fields

* Add some comments

* Add Financial Verification and more Details of Use fields

* Update some textarea fields to single text field

* Format

* Update fields with the correct fieldtypes

* Begin updating sidenav changes

* Split form into each section

* adjust and skip some outdated form validation tests

* break request form into multiple form objects

* need to send user ID to requests-queue

* use DateForm for start date in request

* alter request_new handler to pass raw form data to template

* change review form

* Add KO and COR section titles

* Update date input class name

* Add a special case for the summary form. We should refactor this

* Add read-only fields for review and submit section

* Add minimum number validators to request form

* Fix formatting

* Use html5 datepicker for dates

* Fix request form validators

* Finish org info form

* Finish POC form

* Finish financial verification form

* Move PE and UII to financial form

* Un-skip form validation test
2018-07-03 10:10:44 -04:00
richard-dds
f9335c7a4e Use black for formatting 2018-06-26 10:31:39 -04:00
Brian Duggan
9152ffe91e Implement form objects for request forms 2018-06-14 13:59:03 -04:00