Commit a4004862d55f24e7eb250d2f55560733f501ea75
1 parent
60b62c053d
Exists in
master
UI fuel order
Showing
2 changed files
with
12 additions
and
12 deletions
Show diff stats
app/partials/enterFuelOrder/enterFuelOrder.html
... | ... | @@ -77,7 +77,7 @@ |
77 | 77 | <label class="new-input-label"><b>Volume</b></label> |
78 | 78 | </div> |
79 | 79 | <div class="pull-left" style="width: calc(100% - 110px);"> |
80 | - <input type="text" ng-model="order.volume" ng-keyup="addTotal(order.volume,'v')" class="form-control" placeholder=""> | |
80 | + <input type="text" ng-model="order.volume" ng-keyup="addTotal(order.volume,'v')" class="form-control" placeholder="" required> | |
81 | 81 | </div> |
82 | 82 | <div class="clearfix"></div> |
83 | 83 | </div> |
... | ... | @@ -95,11 +95,11 @@ |
95 | 95 | <div class="pull-left" style="width: calc(100% - 110px);"> |
96 | 96 | <div style="width: 50%; float: left;"> |
97 | 97 | Date |
98 | - <input type="text" style="width: 90%;" ng-model="order.upliftDate" class="form-control" placeholder="" datepicker/> | |
98 | + <input type="text" style="width: 90%;" ng-model="order.upliftDate" class="form-control" placeholder="" datepicker required/> | |
99 | 99 | </div> |
100 | 100 | <div style="width: 50%; float: left;"> |
101 | 101 | Time |
102 | - <select class="form-control" ng-model="order.etaTime" style="width: 100%;"> | |
102 | + <select class="form-control" ng-model="order.etaTime" style="width: 100%;" required> | |
103 | 103 | <option ng-repeat="li in etaTimeList">{{li.time}}</option> |
104 | 104 | </select> |
105 | 105 | |
... | ... | @@ -114,7 +114,7 @@ |
114 | 114 | <span style="margin-top: 6px; margin-right: 3px; float: right;">$</span> |
115 | 115 | </div> |
116 | 116 | <div class="pull-left" style="width: calc(100% - 110px);"> |
117 | - <input type="text" ng-model="order.invoiced" ng-keyup="addTotal(order.invoiced,'i')" class="form-control" placeholder=""> | |
117 | + <input type="text" ng-model="order.invoiced" ng-keyup="addTotal(order.invoiced,'i')" class="form-control" placeholder="" required> | |
118 | 118 | </div> |
119 | 119 | <div class="clearfix"></div> |
120 | 120 | </div> |
... | ... | @@ -131,11 +131,11 @@ |
131 | 131 | <div class="pull-left" style="width: calc(100% - 110px);"> |
132 | 132 | <div style="width: 50%; float: left;"> |
133 | 133 | Date |
134 | - <input type="text" style="width: 90%;" ng-model="order.departingDate" class="form-control" placeholder="" datepicker/> | |
134 | + <input type="text" style="width: 90%;" ng-model="order.departingDate" class="form-control" placeholder="" datepicker required/> | |
135 | 135 | </div> |
136 | 136 | <div style="width: 50%; float: left;"> |
137 | 137 | Time |
138 | - <select class="form-control" ng-model="order.etdTime" style="width: 100%;"> | |
138 | + <select class="form-control" ng-model="order.etdTime" style="width: 100%;" required> | |
139 | 139 | <option ng-repeat="list in etdTimeList">{{list.time}}</option> |
140 | 140 | </select> |
141 | 141 | </div> | ... | ... |
app/partials/fuelOrders/fuelOrders.html
... | ... | @@ -593,7 +593,7 @@ |
593 | 593 | <label class="new-input-label"><b>Volume</b></label> |
594 | 594 | </div> |
595 | 595 | <div class="pull-left" style="width: calc(100% - 110px);"> |
596 | - <input type="text" ng-model="order.volume" ng-keyup="addTotal(order.volume,'v')" class="form-control" placeholder=""> | |
596 | + <input type="text" ng-model="order.volume" ng-keyup="addTotal(order.volume,'v')" class="form-control" placeholder="" required> | |
597 | 597 | </div> |
598 | 598 | <div class="clearfix"></div> |
599 | 599 | </div> |
... | ... | @@ -611,11 +611,11 @@ |
611 | 611 | <div class="pull-left" style="width: calc(100% - 110px);"> |
612 | 612 | <div style="width: 50%; float: left;"> |
613 | 613 | Date |
614 | - <input type="text" style="width: 90%;" ng-model="order.upliftDate" class="form-control" placeholder="" datepicker/> | |
614 | + <input type="text" style="width: 90%;" ng-model="order.upliftDate" class="form-control" placeholder="" datepicker required/> | |
615 | 615 | </div> |
616 | 616 | <div style="width: 50%; float: left;"> |
617 | 617 | Time |
618 | - <select class="form-control" ng-model="order.etaTime" style="width: 100%;"> | |
618 | + <select class="form-control" ng-model="order.etaTime" style="width: 100%;" required> | |
619 | 619 | <option ng-repeat="li in etaTimeList">{{li.time}}</option> |
620 | 620 | </select> |
621 | 621 | |
... | ... | @@ -630,7 +630,7 @@ |
630 | 630 | <span style="margin-top: 6px; margin-right: 3px; float: right;">$</span> |
631 | 631 | </div> |
632 | 632 | <div class="pull-left" style="width: calc(100% - 110px);"> |
633 | - <input type="text" ng-model="order.invoiced" ng-keyup="addTotal(order.invoiced,'i')" class="form-control" placeholder=""> | |
633 | + <input type="text" ng-model="order.invoiced" ng-keyup="addTotal(order.invoiced,'i')" class="form-control" placeholder="" required> | |
634 | 634 | </div> |
635 | 635 | <div class="clearfix"></div> |
636 | 636 | </div> |
... | ... | @@ -647,11 +647,11 @@ |
647 | 647 | <div class="pull-left" style="width: calc(100% - 110px);"> |
648 | 648 | <div style="width: 50%; float: left;"> |
649 | 649 | Date |
650 | - <input type="text" style="width: 90%;" ng-model="order.departingDate" class="form-control" placeholder="" datepicker/> | |
650 | + <input type="text" style="width: 90%;" ng-model="order.departingDate" class="form-control" placeholder="" datepicker required/> | |
651 | 651 | </div> |
652 | 652 | <div style="width: 50%; float: left;"> |
653 | 653 | Time |
654 | - <select class="form-control" ng-model="order.etdTime" style="width: 100%;"> | |
654 | + <select class="form-control" ng-model="order.etdTime" style="width: 100%;" required> | |
655 | 655 | <option ng-repeat="list in etdTimeList">{{list.time}}</option> |
656 | 656 | </select> |
657 | 657 | ... | ... |