-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bhCurrencySelect): allow linking of cashboxes
This commit adds in an error message if the currency accounts have never been set for a cashbox. It provides a link back to the cashbox's edit form to allow a user to easily update the cashbox's currency account from the input directly. This isn't displayed if the cashboxId is not passed in. It makes the code for opening the cashbox select modal a little more clearer and improves the user interface slightly. In particular, the "do not see your cashbox?" prompt has been moved into the modal. TODOs 1. Update the cashboxes page with ui-router to allow deep linking from the cash page. The links should be: a. From the bhCurrencySelect to the cashboxes/id/update page b. From the cashboxSelectModal to the cashboxes/create/new page.
- Loading branch information
Showing
13 changed files
with
218 additions
and
257 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
Oops, something went wrong.