-
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.
6710: Fix issue with entry of multiple assets via Lots entry modal r=mbayopanda a=jmcameron When you enter lots (by integration) and you want to add multiple instances of an asset, this PR makes this work more easily from the Lots modal popup. Closes #6709 **TESTING** - use bhima_test - Go to: Stock > Stock Entry - Select [Integration] - Add a new line for an asset. Use inventory code: MOT.HCRF250RX for a motorcycle - Click on the **Lots** link to bring up the Lots entry modal. - You should now be able to change the global quantities - Since Assets must be unique with quantity===1, the quantity field is not even shown - Try added multiple lines (with different LOT ids) - Click [Submit] on the modal - Try clicking the **Lots** link again to verify that the info on the non-yet-saved lots is still there - Close the modal - Try adding a non-asset (eg, inventory code DINJ_TRIB1A2_0) and use the "*Lots** link and verify that the Lots modal works as normal for non-assets - Close the Lots entry modal - Click on the [Submit] button to enter the stock. - Check the receipt document to verify correct enty - Go to Asset Management > Assets Registry and verify that the new assets appear there. Co-authored-by: Jonathan Cameron <jmcameron@gmail.com>
- Loading branch information
Showing
4 changed files
with
9 additions
and
5 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
1 change: 1 addition & 0 deletions
1
client/src/modules/stock/entry/modals/templates/lot.quantity.tmpl.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<div class="ui-grid-cell-contents"> | ||
|
||
<input | ||
min="0" | ||
type="number" | ||
|