Commit 43504dcd53fc2e26c3ac10ddb98f49213eb622e1

Authored by Eric Fernandez
1 parent a2a93032aa
Exists in master

fecha disabled

Showing 2 changed files with 3 additions and 2 deletions   Show diff stats
... ... @@ -6,6 +6,7 @@ angular.module('focaCabeceraFacturador', [])
6 6 titulo: '<',
7 7 numero: '<',
8 8 fecha: '=',
9   - busqueda: '<'
  9 + busqueda: '<',
  10 + fechaDisabled: '<'
10 11 }
11 12 });
src/views/cabecera.html
... ... @@ -41,7 +41,7 @@
41 41 on-open-focus="false"
42 42 ng-focus="datepickerOpen = true"
43 43 />
44   - <button
  44 + <button ng-if="!$ctrl.fechaDisabled"
45 45 class="btn btn-xs btn-outline-light float-right"
46 46 ng-click="datepickerAbierto = true"
47 47 >