-
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.
- Add popover information in lots entry form - Add new column in lots registry for get information about package
- Loading branch information
Showing
10 changed files
with
78 additions
and
9 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="text-left"> | ||
<strong translate> FORM.LABELS.NUMBER_PACKAGES </strong> : {{ row.entity.numberPackage | number }} <br> | ||
<strong translate> FORM.LABELS.PACK_SIZE </strong> : {{ row.entity.package_size }} <br> | ||
<span ng-if="(row.entity.quantity % row.entity.package_size) > 0"> | ||
_______________<br> | ||
<strong translate> FORM.LABELS.BULK_QUANTITY</strong> : {{ (row.entity.quantity % row.entity.package_size) | number }} <em> {{ row.entity.unit_type | translate }} </em> | ||
</span> | ||
</div> |
10 changes: 10 additions & 0 deletions
10
client/src/modules/stock/lots/templates/packaging.cell.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="ui-grid-cell-contents text-center"> | ||
<span | ||
ng-if="row.entity.package_size > 1" | ||
uib-popover-template="'modules/stock/lots/templates/pack_info.tmpl.html'" | ||
popover-placement="right" | ||
popover-trigger="'mouseenter'" | ||
popover-append-to-body="true"> | ||
<i class="fa fa-cube text-info"></i> | ||
</span> | ||
</div> |
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