Commit cc38b7c96e7f482554bfd3283d646e2f30c6200b

Authored by Jose Pinto
Exists in master

Merge branch 'master' into 'master'

Calendario bootstrap

See merge request !3
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,10 +121,15 @@
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"/>
129 134 </div>
130 135 <div class="col-12 col-md-2">
... ... @@ -137,10 +142,15 @@
137 142 </div>
138 143 </div>
139 144 <input
140   - type="date"
  145 + type="text"
141 146 class="form-control form-control-sm"
142 147 placeholder="Fecha"
143 148 ng-model="cheque.fechaPresentacion"
  149 + uib-datepicker-popup="dd/MM/yyyy"
  150 + show-button-bar="false"
  151 + is-open="datepicker2Open"
  152 + on-open-focus="false"
  153 + ng-focus="datepicker2Open = true"
144 154 ng-required="true"/>
145 155 </div>
146 156 <div class="col-12 col-md-2">