-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements to Inventory List #738
Labels
Comments
jniles
pushed a commit
to jniles/bhima
that referenced
this issue
Jan 2, 2017
This commit fixes the inventory server UPDATE route to conform to our HTTP API standards. It sends back a JSON object instead of an array, allowing both the create() and update() routes to pass the uuid back to the central list state and use the grid to scroll to the updated record. This commit contains much performance refactoring. 1. Makes the <select>s use track by in the ActionForm. 2. Uses <translate> directive instead of filter 3. Uses a loading indicator on the bhLoadingButton A few of the issues in IMA-WorldHealth#738 have been addressed.
jniles
pushed a commit
to jniles/bhima
that referenced
this issue
Jan 4, 2017
This commit fixes the inventory server UPDATE route to conform to our HTTP API standards. It sends back a JSON object instead of an array, allowing both the create() and update() routes to pass the uuid back to the central list state and use the grid to scroll to the updated record. This commit contains much performance refactoring. 1. Makes the <select>s use track by in the ActionForm. 2. Uses <translate> directive instead of filter 3. Uses a loading indicator on the bhLoadingButton A few of the issues in IMA-WorldHealth#738 have been addressed.
jniles
pushed a commit
to jniles/bhima
that referenced
this issue
Jan 4, 2017
This commit fixes the inventory server UPDATE route to conform to our HTTP API standards. It sends back a JSON object instead of an array, allowing both the create() and update() routes to pass the uuid back to the central list state and use the grid to scroll to the updated record. This commit contains much performance refactoring. 1. Makes the <select>s use track by in the ActionForm. 2. Uses <translate> directive instead of filter 3. Uses a loading indicator on the bhLoadingButton A few of the issues in IMA-WorldHealth#738 have been addressed.
jniles
pushed a commit
to jniles/bhima
that referenced
this issue
Jan 4, 2017
This commit fixes the inventory server UPDATE route to conform to our HTTP API standards. It sends back a JSON object instead of an array, allowing both the create() and update() routes to pass the uuid back to the central list state and use the grid to scroll to the updated record. This commit contains much performance refactoring. 1. Makes the <select>s use track by in the ActionForm. 2. Uses <translate> directive instead of filter 3. Uses a loading indicator on the bhLoadingButton A few of the issues in IMA-WorldHealth#738 have been addressed.
Closing this as out of date. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The inventory list module has not been updated since the initial implementation. Here are some out of date practices that should be updated:
Edit
button is really small, and should contain edit text.There is noDelete
button. Note: an inventory item should not be able to be deleted if it is used in a transaction or purchase order.code
input should usebhUnique
to check that the code is uniqueconsumable
checkbox does not use valid bootstrap markup. See checkboxes and radios for appropriate markup.ui-router
and states for create/update.Print
button does not update itself when new items are added (old report is printed).btn
and notbtn-sm
.The text was updated successfully, but these errors were encountered: