-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eda0473
commit 1f34ec4
Showing
3 changed files
with
27 additions
and
28 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,3 +1,4 @@ | ||
{ | ||
"orderView.view": "View details" | ||
"orderView.view": "View details", | ||
"orderView.isRequisitionless": "Requisitionless" | ||
} |
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,32 +1,29 @@ | ||
<h2>{{'orderView.viewOrders' | message}}</h2> | ||
<form class="sidebar" ng-submit="vm.loadOrders()"> | ||
<label for="supplyingFacility">{{'orderView.supplyingFacility' | message}}</label> | ||
<select id="supplyingFacility" | ||
ng-model="vm.supplyingFacility" | ||
ng-options="facility.name for facility in vm.supplyingFacilities" | ||
required></select> | ||
<input type="submit" value="{{'orderView.search' | message}}" /> | ||
<label for="supplyingFacility">{{'orderView.supplyingFacility' | message}}</label> | ||
<select id="supplyingFacility" ng-model="vm.supplyingFacility" | ||
ng-options="facility.name for facility in vm.supplyingFacilities" required></select> | ||
<input type="submit" value="{{'orderView.search' | message}}" /> | ||
</form> | ||
<section class="openlmis-table-container order-view"> | ||
<form ng-submit="vm.loadOrders()" > | ||
<label for="requestingFacility">{{'orderView.requestingFacility' | message}}</label> | ||
<select id="requestingFacility" | ||
ng-model="vm.requestingFacility" | ||
ng-options="facility.name for facility in vm.requestingFacilities"></select> | ||
<label>{{'orderView.program' | message}}</label> | ||
<select id="program" | ||
ng-model="vm.program" | ||
ng-options="program.name for program in vm.programs"></select> | ||
<label>{{'orderView.status' | message}}</label> | ||
<select id="status" | ||
ng-model="vm.status" | ||
ng-options="status as status.name for status in vm.orderStatuses track by status.value"></select> | ||
<label for=periodStartDate>{{'orderView.periodStart' | message}}</label> | ||
<input id="periodStartDate" type="date" ng-model="vm.periodStartDate" max-date="vm.periodEndDate"/> | ||
<label for=periodEndDate>{{'orderView.periodEnd' | message}}</label> | ||
<input id="periodEndDate" type="date" ng-model="vm.periodEndDate" min-date="vm.periodStartDate"/> | ||
<input type="submit" class="btn btn-primary" value="{{'orderView.search' | message}}"/> | ||
</form> | ||
<openlmis-table table-config="vm.tableConfig"></openlmis-table> | ||
<openlmis-pagination/> | ||
<form ng-submit="vm.loadOrders()"> | ||
<label for="requestingFacility">{{'orderView.requestingFacility' | message}}</label> | ||
<select id="requestingFacility" ng-model="vm.requestingFacility" | ||
ng-options="facility.name for facility in vm.requestingFacilities"></select> | ||
<label>{{'orderView.program' | message}}</label> | ||
<select id="program" ng-model="vm.program" | ||
ng-options="program.name for program in vm.programs"></select> | ||
<label>{{'orderView.status' | message}}</label> | ||
<select id="status" ng-model="vm.status" | ||
ng-options="status as status.name for status in vm.orderStatuses track by status.value"></select> | ||
<label for=periodStartDate>{{'orderView.periodStart' | message}}</label> | ||
<input id="periodStartDate" type="date" ng-model="vm.periodStartDate" max-date="vm.periodEndDate" /> | ||
<label for=periodEndDate>{{'orderView.periodEnd' | message}}</label> | ||
<input id="periodEndDate" type="date" ng-model="vm.periodEndDate" min-date="vm.periodStartDate" /> | ||
<label for="">{{:: 'orderView.isRequisitionless' | message}}</label> | ||
<input type="checkbox" id="isRequisitionless"> | ||
<input type="submit" class="btn btn-primary" value="{{'orderView.search' | message}}" /> | ||
</form> | ||
<openlmis-table table-config="vm.tableConfig"></openlmis-table> | ||
<openlmis-pagination /> | ||
</section> |