foca-admin-seguimiento.html
5.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<div class="foca-admin-seguimiento">
<div class="row">
<foca-cabecera-facturador
titulo="titulo"
fecha="now"
class="mb-0 col-lg-12"
></foca-cabecera-facturador>
</div>
<div class="row">
<div class="col-10">
<osm
latitud="-34.7152975"
longitud="-65.9053867"
zoom="6"
marcadores="marcadores"
parametros= "datosBuscados"
/>
</div>
<div class="col-2 pl-0">
<div class="input-group mb-3">
<div class="input-group-prepend my-2">
<button
class="input-group-text"
ng-click="datepickerOpen = true"
>
<i class="fa fa-calendar" aria-hidden="true"></i>
</button>
</div>
<input
type="text"
ng-model="now"
class="form-control col-12 my-2"
ng-blur="fecha()"
uib-datepicker-popup="dd/MM/yyyy"
show-button-bar="false"
is-open="datepickerOpen"
on-open-focus="false"
ng-focus="datepickerOpen = true"
datepicker-options="dateOptions"
/>
</div>
<button
type="button"
ng-class="{'active': idUsuario == 0}"
class="btn btn-outline-debo col-12 my-1"
ng-click="general()"
>General</button>
<button
type="button"
ng-class="{'active': idUsuario != 0}"
class="btn btn-outline-debo col-12 my-1"
ng-click="individual()"
>Individual</button>
<div class="form-group my-1" ng-show="idUsuario != 0">
<button
class="btn btn-default"
foca-focus="idUsuario == -1"
ng-show="actividad == 'Nota de pedido'"
ng-click="openModal()">
<i class="fa fa-hand-pointer-o" aria-hidden="true"></i>
Vendedor
</button>
<button
class="btn btn-default"
foca-focus="idUsuario == -1"
ng-show="actividad == 'Entrega de producto'"
ng-click="openModal()">
<i class="fa fa-hand-pointer-o" aria-hidden="true"></i>
Transportista
</button>
<button
class="btn btn-default"
foca-focus="idUsuario == -1"
ng-show="actividad == 'Cobranza'"
ng-click="openModal()">
<i class="fa fa-hand-pointer-o" aria-hidden="true"></i>
Cobrador
</button>
</div>
<button
type="button"
class="btn btn-danger col-12 my-1"
ng-show="marcadores.length > 0 && idUsuario > 0"
ng-click="showMarcadores()"
>Listar marcadores</button>
<div ng-show="actividad === 'Entrega de producto' && idUsuario !== 0">
<div class="custom-control custom-radio">
<input
type="radio"
class="custom-control-input"
id="idTodos"
name="filtro"
ng-model="filtroEstado"
ng-change="search(13)"
checked>
<label class="custom-control-label pb-3" for="idTodos"></label>
<img src="img/marker-icon-grey.png">
<strong>Todos</strong>
</div>
<div class="custom-control custom-radio">
<input
type="radio"
class="custom-control-input"
id="entregado"
name="filtro"
ng-model="filtroEstado"
ng-change="search(13)"
ng-value="true">
<label class="custom-control-label pb-3" for="entregado"></label>
<img src="img/marker-icon-green.png">
<strong>Entregado</strong>
</div>
<div class="custom-control custom-radio">
<input
type="radio"
class="custom-control-input"
id="noEntregado"
name="filtro"
ng-model="filtroEstado"
ng-change="search(13)"
ng-value="false">
<label class="custom-control-label pb-3" for="noEntregado"></label>
<img src="img/marker-icon-yellow.png">
<strong>No entregado</strong>
</div>
</div>
</div>
</div>
<div ng-show="actividad === 'Entrega de producto' && idUsuario != 0">
<strong>Remitos pendientes de entrega</strong>
<table class="table">
<thead>
<tr>
<th>Remito Nº</th>
<th>Cliente</th>
<th>Dirección</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="remito in remitosVehiculo">
<td ng-bind="[remito.sucursal, remito.numeroRemito] | comprobante"></td>
<td ng-bind="remito.nombreCliente"></td>
<td ng-bind="remito.domicilioStamp"></td>
</tr>
</tbody>
</table>
</div>
</div>