-
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.
fix(review): Update the pull requst according the review suggestion
- Loading branch information
1 parent
999b9a8
commit fb2ec1f
Showing
14 changed files
with
113 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
{"DEPOT":{"ADD_DEPOT":"Add a Depot", | ||
"ALL_DEPOTS":"All Depots", | ||
"DEPOTS_LIST":"Depots list", | ||
"DESCRIPTION":"This module allows you to List, Create, Edit and Delete a Depot", | ||
"EDIT_DEPOT":"Edit the information in a Depot", | ||
"MAIN":{"TITLE":"Depot Management"}, | ||
"NO_DEPOT":"No Depot", | ||
"TITLE":"Depot Management"}} | ||
{ | ||
"DEPOT": { | ||
"ADD_DEPOT": "Add a Depot", | ||
"ALL_DEPOTS": "All Depots", | ||
"DEPOTS_LIST": "Depots list", | ||
"DESCRIPTION": "This module allows you to List, Create, Edit and Delete a Depot", | ||
"EDIT_DEPOT": "Edit the information in a Depot", | ||
"ENTITY" : "Depot", | ||
"MAIN": { | ||
"TITLE": "Depot Management" | ||
}, | ||
"NO_DEPOT": "No Depot", | ||
"TITLE": "Depot Management" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
<div ng-if="row.entity.lot.uuid" class="ui-grid-cell-contents"> | ||
{{grid.appScope.util.getTimeFromToday(row.entity.lot.expiration_date, 'days')}} | ||
<span translate>FORM.LABELS.DAYS</span> | ||
<span am-time-ago="row.entity.lot.expiration_date"></span> | ||
</div> |
36 changes: 21 additions & 15 deletions
36
client/src/modules/templates/bhStockEntryExitType.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,20 +1,26 @@ | ||
<div class="col-md-3 col-sm-6 col-xs-12" ng-repeat="type in $ctrl.entryExitTypeList | filter:{isEntry : $ctrl.isEntry}"> | ||
<button id="entry-exit-type-{{type.label}}" class="btn-block panel panel-default segment" type="button" ng-class="{'bg-ima-dark-blue': type.label === $ctrl.selectedEntryExitType.label}" | ||
ng-click="$ctrl.selectEntryExitType(type)" name="btn-patient"> | ||
<div class="panel-body text-center text-ellipsis"> | ||
<div class="ui lg ima-blue statistic"> | ||
<div class="value" translate> | ||
{{type.labelKey}} | ||
</div> | ||
<div> | ||
<div class="uilabel"> | ||
<span ng-hide="($ctrl.reference || $ctrl.displayName) && type.label === $ctrl.selectedEntryExitType.label" translate>{{type.descriptionKey}}</span> | ||
<span ng-show="($ctrl.reference || $ctrl.displayName) && type.label === $ctrl.selectedEntryExitType.label"> | ||
{{$ctrl.display()}} | ||
</span> | ||
<button | ||
id="entry-exit-type-{{type.label}}" | ||
class="btn-block panel panel-default segment" | ||
type="button" | ||
ng-class="{'bg-ima-dark-blue': type.label === $ctrl.selectedEntryExitType.label}" | ||
ng-click="$ctrl.selectEntryExitType(type)"> | ||
<div class="panel-body text-center text-ellipsis"> | ||
<div class="ui lg ima-blue statistic"> | ||
<div class="value" translate> | ||
{{type.labelKey}} | ||
</div> | ||
<div> | ||
<div class="uilabel"> | ||
<span ng-hide="($ctrl.reference || $ctrl.displayName) && type.label === $ctrl.selectedEntryExitType.label" translate> | ||
{{type.descriptionKey}} | ||
</span> | ||
<span ng-show="($ctrl.reference || $ctrl.displayName) && type.label === $ctrl.selectedEntryExitType.label"> | ||
{{$ctrl.display()}} | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</button> | ||
</button> | ||
</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
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.