Commit ffc27d7b5aa7a9ab29c0c56cdce4d878e712b2ce

Authored by Jose Pinto
1 parent dfe92ca4a6
Exists in master and in 1 other branch develop

calendario bootstrap

src/js/controller.js
... ... @@ -19,8 +19,6 @@ angular.module('focaModalCheque')
19 19 fechaEmision: new Date()
20 20 };
21 21  
22   -
23   -
24 22 $scope.seleccionarBanco = function(key) {
25 23 if(key === 13) {
26 24 var modalInstance = $uibModal.open(
src/views/modal-cheque.html
... ... @@ -121,11 +121,17 @@
121 121 </div>
122 122 </div>
123 123 <input
124   - type="date"
  124 + type="text"
125 125 class="form-control form-control-sm"
126 126 placeholder="Fecha"
127 127 ng-model="cheque.fechaEmision"
  128 + uib-datepicker-popup="dd/MM/yyyy"
  129 + show-button-bar="false"
  130 + is-open="datepickerOpen"
  131 + on-open-focus="false"
  132 + ng-focus="datepickerOpen = true"
128 133 ng-required="true"/>
  134 +
129 135 </div>
130 136 <div class="col-12 col-md-2">
131 137 <label class="form-control-sm">Presentación:</label>
... ... @@ -137,10 +143,15 @@
137 143 </div>
138 144 </div>
139 145 <input
140   - type="date"
  146 + type="text"
141 147 class="form-control form-control-sm"
142 148 placeholder="Fecha"
143 149 ng-model="cheque.fechaPresentacion"
  150 + uib-datepicker-popup="dd/MM/yyyy"
  151 + show-button-bar="false"
  152 + is-open="datepicker2Open"
  153 + on-open-focus="false"
  154 + ng-focus="datepicker2Open = true"
144 155 ng-required="true"/>
145 156 </div>
146 157 <div class="col-12 col-md-2">