Commit 051801ecc6633341ec9d44091a922132b619701c
Exists in
master
Merge branch 'master' into 'develop'
Master See merge request !9
Showing
1 changed file
Show diff stats
src/views/cabecera.html
1 | <form name="formCrearNota"> | 1 | <form name="formCrearNota"> |
2 | <div class="row"> | 2 | <div class="row"> |
3 | <div class="col-md-10 col-lg-12"> | 3 | <div class="col-md-10 col-lg-12"> |
4 | <div class="row panel-informativo"> | 4 | <div class="row panel-informativo"> |
5 | <div class="col-12"> | 5 | <div class="col-12"> |
6 | <div class="row titulares"> | 6 | <div class="row titulares"> |
7 | <div class="col-12 col-sm nota-pedido border border-left-0 border-white align-middle"> | 7 | <div class="col-12 col-sm nota-pedido border border-left-0 border-white align-middle"> |
8 | <h5 class="mb-0">{{$ctrl.titulo}}</h5> | 8 | <h5 class="mb-0">{{$ctrl.titulo}}</h5> |
9 | </div> | 9 | </div> |
10 | <div class="col-12 col-sm numero-pedido text-center text-md-left border border-white align-middle" | 10 | <div class="col-12 col-sm numero-pedido text-center text-md-left border border-white align-middle" |
11 | ng-if="$ctrl.numero">Nº {{$ctrl.numero}} | 11 | ng-if="$ctrl.numero">Nº {{$ctrl.numero}} |
12 | <button | 12 | <button |
13 | class="btn btn-xs btn-outline-light float-right" | 13 | class="btn btn-xs btn-outline-light float-right" |
14 | type="button" | 14 | type="button" |
15 | ng-click="$ctrl.busqueda()" | 15 | ng-click="$ctrl.busqueda()" |
16 | ng-if="$ctrl.busqueda" | 16 | ng-if="$ctrl.busqueda" |
17 | title="Buscar" | 17 | title="Buscar" |
18 | > | 18 | > |
19 | <i class="fa fa-search"></i> | 19 | <i class="fa fa-search"></i> |
20 | </button> | 20 | </button> |
21 | </div> | 21 | </div> |
22 | <div class="col-7 col-sm border border-white align-middle"> | 22 | <div class="input-group col-7 col-sm border border-white align-middle"> |
23 | Fecha: | 23 | Fecha: |
24 | <span | 24 | <span |
25 | ng-show="!datepickerAbierto" | 25 | ng-show="!datepickerAbierto" |
26 | ng-bind="$ctrl.fecha | date:'dd/MM/yyyy'" | 26 | ng-bind="$ctrl.fecha | date:'dd/MM/yyyy'" |
27 | ng-click="datepickerAbierto = true" | 27 | ng-click="datepickerAbierto = true" |
28 | > | 28 | > |
29 | </span> | 29 | </span> |
30 | <input | 30 | <input |
31 | ng-show="datepickerAbierto" | 31 | ng-show="datepickerAbierto" |
32 | type="text" | 32 | type="text" |
33 | ng-model="$ctrl.fecha" | 33 | ng-model="$ctrl.fecha" |
34 | ng-change="datepickerAbierto = false" | 34 | ng-change="datepickerAbierto = false" |
35 | ng-blur="datepickerAbierto = false" | 35 | ng-blur="datepickerAbierto = false" |
36 | class="form-control form-control-sm col-8 float-right" | 36 | class="form-control form-control-sm col-8 float-right" |
37 | foca-focus="datepickerAbierto" | 37 | foca-focus="datepickerAbierto" |
38 | uib-datepicker-popup="dd/MM/yyyy" | 38 | uib-datepicker-popup="dd/MM/yyyy" |
39 | show-button-bar="false" | 39 | show-button-bar="false" |
40 | is-open="datepickerOpen" | 40 | is-open="datepickerOpen" |
41 | on-open-focus="false" | 41 | on-open-focus="false" |
42 | ng-focus="datepickerOpen = true" | 42 | ng-focus="datepickerOpen = true" |
43 | /> | 43 | /> |
44 | <button | 44 | <button |
45 | class="btn btn-xs btn-outline-light" | 45 | class="btn btn-xs btn-outline-light float-right" |
46 | ng-click="datepickerAbierto = true" | 46 | ng-click="datepickerAbierto = true" |
47 | > | 47 | > |
48 | <i class="fa fa-calendar"></i> | 48 | <i class="fa fa-calendar"></i> |
49 | </button> | 49 | </button> |
50 | </div> | 50 | </div> |
51 | <div class="col-5 col-sm border border-white border-right-0 align-middle"> | 51 | <div class="col-5 col-sm border border-white border-right-0 align-middle"> |
52 | Hora: | 52 | Hora: |
53 | <span | 53 | <span |
54 | ng-show="!datepickerAbierto" | 54 | ng-show="!datepickerAbierto" |
55 | ng-bind="$ctrl.fecha | date:'HH:mm'" | 55 | ng-bind="$ctrl.fecha | date:'HH:mm'" |
56 | ng-click="datepickerAbierto = true" | 56 | ng-click="datepickerAbierto = true" |
57 | > | 57 | > |
58 | </span> | 58 | </span> |
59 | </div> | 59 | </div> |
60 | </div> | 60 | </div> |
61 | <div class="row py-2" ng-repeat="seccion in cabeceras" ng-show="showCabecera"> | 61 | <div class="row py-2" ng-repeat="seccion in cabeceras" ng-show="showCabecera"> |
62 | <strong ng-bind="seccion.seccion"></strong> | 62 | <strong ng-bind="seccion.seccion"></strong> |
63 | <div class="col-auto" ng-repeat="cab in seccion.cabeceras" ng-show="showCabecera"> | 63 | <div class="col-auto" ng-repeat="cab in seccion.cabeceras" ng-show="showCabecera"> |
64 | <span class="label" ng-bind="cab.label"></span> | 64 | <span class="label" ng-bind="cab.label"></span> |
65 | <span class="valor" ng-bind="cab.valor"></span> | 65 | <span class="valor" ng-bind="cab.valor"></span> |
66 | </div> | 66 | </div> |
67 | </div> | 67 | </div> |
68 | <a | 68 | <a |
69 | class="btn col-12 btn-secondary" | 69 | class="btn col-12 btn-secondary" |
70 | ng-show="cabeceras.length > 1" | 70 | ng-show="cabeceras.length > 1" |
71 | ng-click="showCabecera = !showCabecera" | 71 | ng-click="showCabecera = !showCabecera" |
72 | > | 72 | > |
73 | <i | 73 | <i |
74 | class="fa fa-chevron-down" | 74 | class="fa fa-chevron-down" |
75 | ng-hide="showCabecera" | 75 | ng-hide="showCabecera" |
76 | aria-hidden="true" | 76 | aria-hidden="true" |
77 | > | 77 | > |
78 | </i> | 78 | </i> |
79 | <i | 79 | <i |
80 | class="fa fa-chevron-up" | 80 | class="fa fa-chevron-up" |
81 | ng-show="showCabecera" | 81 | ng-show="showCabecera" |
82 | aria-hidden="true"> | 82 | aria-hidden="true"> |
83 | </i> | 83 | </i> |
84 | </a> | 84 | </a> |
85 | </div> | 85 | </div> |
86 | </div> | 86 | </div> |
87 | </div> | 87 | </div> |
88 | </div> | 88 | </div> |
89 | </form> | 89 | </form> |
90 | 90 |