-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* make the actions a little closer to readable, pass a param to the esup form to hide the decision modal * moved things around on the form to group like with like for better readability. Added an enum for how the form should be viewed and changed some state variables and useeffects to use that instead. Took out validateSelectOptions because infinite re-render. Added text for edit document mode. Hid back button when it should be hidden * decision modal wasn't what I thought it was- rename enum value for better clarity. Put in feature flag to be very explicit about code thhat can be removed later. Saw some unused imports, deleted them * remove Edit Documents from applications tab, and modify handlers to match desired flow more, bring up issuance modal so that Editing an application can lead to Issuing it and amendments will be issued * simplify function call * add logic in esup reducer to format with amendment data and fix document issue immediately. Change some logic in BE for when we close prior amendments. Ignore the amendment fields and guids in diff modal. Take out unused params from form and add popconfirm to the cancel button. Replace any logic in ExplosivesPermit to get amendment data with record values, tweak the initial values in some places so that we don't end up with is_closed = null, update orig system on amendments to Core, tell it when necessary that it's an amendment. Changed Edit action to Edit Draft to make it clear what they're doing, and fixed a minor gaffe from earlier where the view modal shows 'example' as the mines permit number * give tests the data and props they need to pass. Fix a mis-named test suite. * fix a can't get property of undefined error, a backwards ternary, and don't allow to delete any esups with amendments * fix diff
- Loading branch information
Showing
18 changed files
with
623 additions
and
506 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.