Commit Graph

1887 Commits

Author SHA1 Message Date
leigh-mil
4c775517b9 Prevent python datetime from converting to Javascript datetime before json encoding.
Previously the conversion from python to Javascript datetime objects was
adding timezone information, which was causing the date to render
incorrectly because the users timezone was different than the encoded
time zone.
2019-02-01 13:30:38 -05:00
George Drummond
6fef90373b Merge pull request #587 from dod-ccpo/date-field-component-fixes
Bug fixes for date picker component
2019-02-01 13:20:52 -05:00
leigh-mil
c302ddf2d7 Pass existing task order to the Form
Passing the existing task order to the Form provides all of the existing
data to the Form. Previously, if a csp
estimate was already uploaded and then the funding page was edited
without changing the upload, the csp estimate was overwritten because
nothing was passed in that field to the form.
2019-02-01 13:15:51 -05:00
Patrick Smith
41feb9e74f Show edited officer form on error 2019-01-31 14:03:15 -05:00
Patrick Smith
6fe9229f89 Add custom form field wrapper to determine if form data has changes 2019-01-31 14:01:55 -05:00
leigh-mil
0382966929 Update dollars filter and formatDollars() to display cent values 2019-01-31 11:29:52 -05:00
George Drummond
76d8820aca Bug fixes for date picker component 2019-01-30 12:09:34 -05:00
leigh-mil
b4cd657d62 Add styling to funding alerts 2019-01-30 10:26:57 -05:00
patricksmithdds
2246e0a5de Merge pull request #584 from dod-ccpo/edit-to-officer
Edit Task Order Officer Info
2019-01-29 16:25:57 -05:00
leigh-mil
2cbfa59b92 Add funding status alerts 2019-01-29 15:52:55 -05:00
leigh-mil
6d61839c65 Move classified/unclassified check into its own method 2019-01-29 15:48:02 -05:00
leigh-mil
3d80135606 Remove unnecessary classified/unclassified check 2019-01-29 14:59:04 -05:00
leigh-mil
15f54f10ca Use translations for clin error message 2019-01-29 14:19:04 -05:00
leigh-mil
090fd167bb Fix UpdateTaskOrderWorkflow to validate using the correct form when unclassified 2019-01-29 14:19:04 -05:00
leigh-mil
f6a04aea62 Change TO form to accept decimals for CLIN input fields 2019-01-29 14:18:35 -05:00
Patrick Smith
5cc1c18378 Add route to update TO officer information 2019-01-29 13:59:53 -05:00
Patrick Smith
d43c1febea Add forms to edit TO officer information 2019-01-29 13:59:24 -05:00
George Drummond
415a554fda Merge pull request #580 from dod-ccpo/date-field-component-tests
Add in VUE date picker component
2019-01-28 11:15:58 -05:00
George Drummond
454d7f10df Add in VUE date picker component 2019-01-25 14:20:43 -05:00
Patrick Smith
ddafa25f22 Add page that shows status of TO officer invitations 2019-01-24 09:55:16 -05:00
patricksmithdds
6823ae814f Merge pull request #575 from dod-ccpo/fix-empty-estimate
Handle submitting funding form without csp estimate
2019-01-24 09:43:44 -05:00
montana-mil
859df01b80 Merge pull request #573 from dod-ccpo/i-am-cor
Show COR as invited if am_cor is checked
2019-01-24 09:19:15 -05:00
Montana
ad0aae55e3 No need to pass current user to review page template 2019-01-24 09:01:48 -05:00
montana-mil
88e4a99b03 Merge pull request #570 from dod-ccpo/bug-start-to-from-pf-funding-page
Allow CCPO to create TO on anyone's portfolio
2019-01-23 16:37:20 -05:00
Patrick Smith
045dcef6f9 Handle submitting form without csp estimate 2019-01-23 16:30:28 -05:00
patricksmithdds
9f2419d334 Merge pull request #571 from dod-ccpo/custom-json-encoder
Use a custom JSON encoder
2019-01-23 16:09:23 -05:00
Montana
ba1310f92b Show COR as invited if am_cor is checked 2019-01-23 15:37:28 -05:00
dandds
3687f8b65b Merge pull request #572 from dod-ccpo/ko-perms-fix
ensure KO can view task order page
2019-01-23 15:24:21 -05:00
dandds
dd2ac62903 ensure KO can view task order page 2019-01-23 15:12:41 -05:00
Patrick Smith
b3270a46cf Remove custom JSON filter 2019-01-23 14:57:14 -05:00
Patrick Smith
849238f218 Use custom JSON encoder in flask app 2019-01-23 14:57:14 -05:00
Patrick Smith
e51a9012fd Add custom JSON encoder to handle attachment objects 2019-01-23 14:57:14 -05:00
patricksmithdds
f553c9a9ea Merge pull request #566 from dod-ccpo/upload-csp-estimate
Upload proof of CSP estimate
2019-01-23 14:56:28 -05:00
Montana
c6062c0418 Allow CCPO to create TO on anyone's portfolio 2019-01-23 13:27:04 -05:00
dandds
e16f12be80 Merge pull request #569 from dod-ccpo/ko-redirect
KO redirect
2019-01-23 11:24:44 -05:00
Patrick Smith
7e4f6bf3eb Limit types of files that can be selected when uploading proof 2019-01-23 11:16:54 -05:00
Patrick Smith
672c562323 Allow removing a csp estimate from a task order 2019-01-23 11:16:54 -05:00
Patrick Smith
c155de0e84 Add tests for downloading csp estimate 2019-01-23 11:16:54 -05:00
Patrick Smith
f580f69d35 Raise error if csp estimate is not of proper type 2019-01-23 11:16:54 -05:00
Patrick Smith
30ebebb13a Fix failing tests 2019-01-23 11:16:54 -05:00
Patrick Smith
eb4f3f4871 Add links to download CSP estimate 2019-01-23 11:16:54 -05:00
Patrick Smith
30be2a5018 Seek to beginning of file before writing
Not seeking was providing files of 0 bytes. Not sure why this just
recently started breaking.
2019-01-23 11:16:54 -05:00
Patrick Smith
6a9290619d Update funding form to handle uploading pdf/png 2019-01-23 11:16:54 -05:00
Patrick Smith
2298c5135e Add csp_estimate property to task order model 2019-01-23 11:16:05 -05:00
Patrick Smith
ebf063f245 Handle uploaded file in task order route 2019-01-23 11:16:05 -05:00
Patrick Smith
4a377007f6 Update mixedContentToJson filter to be more general 2019-01-23 11:16:05 -05:00
leigh-mil
37f8f41be9 Merge pull request #561 from dod-ccpo/to-form-fixes
TO Form fixes
2019-01-23 11:03:45 -05:00
dandds
b7f90bcbd6 when KO accepts invite, redirect to TO view page 2019-01-23 10:05:03 -05:00
Montana
6d4570e671 Use TaskOrders domain to determine if form is complete 2019-01-22 15:04:14 -05:00
leigh-mil
569576fce5 Styling and text fixes 2019-01-22 14:38:54 -05:00