-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
393 lines (383 loc) · 19.8 KB
/
index.html
File metadata and controls
393 lines (383 loc) · 19.8 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Agenda Jefe</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav class="nav-buttons">
<button class="nav-button">Consulta Integral</button>
<button class="nav-button">Agenda</button>
<button class="nav-button">Vectores</button>
<button class="nav-button">Tramitación de Solicitudes</button>
<button class="nav-button">Consulta y Descargo de Giro</button>
<button class="nav-button">Confirmación y Descargo de Giros</button>
<button class="nav-button">Cambiar RUT/Cerrar Atención</button>
<button class="nav-button">Salir</button>
</nav>
</header> <main>
<div class="header-container">
<div class="header-left">
<h1 class="main-title">Agenda Director Regional-DGC</h1>
<p class="description">
Esta aplicación permite visualizar, a través de un cuadro resumen con información general, y organizar la carga de trabajo del Grupo, por medio de la asignación de casos a los fiscalizadores del grupo, a partir del listado de casos no asignados. También presenta los próximos vencimientos de hitos y permite programar un recordatorio para los mismos.
</p>
</div>
<div class="header-right">
<div class="user-info">
<p><strong>Nombre:</strong> "Usuario de Prueba Director Regional"</p>
<p><strong>RUT:</strong> 55.555.555-5</p>
</div>
</div>
</div>
<div class="divider"></div> <div class="tables-section">
<!-- Tabs Navigation -->
<div class="tabs-navigation">
<button id="tabMisConfirmaciones" class="tab-button active" onclick="openTab('contentMisConfirmaciones', 'tabMisConfirmaciones')">Mis Confirmaciones</button>
<button id="tabResoluciones" class="tab-button" onclick="openTab('contentResoluciones', 'tabResoluciones')">Resoluciones</button>
<button id="tabSubrrogancias" class="tab-button" onclick="openTab('contentSubrrogancias', 'tabSubrrogancias')">Subrrogancias</button>
</div> <!-- Tab Contents -->
<div id="contentMisConfirmaciones" class="tab-content active">
<!-- Sub-pestañas dentro de Mis Confirmaciones -->
<div class="sub-tabs-navigation">
<button id="subTabConfirmacionesPendientes" class="sub-tab-button active" onclick="openSubTab('contentConfirmacionesPendientes', 'subTabConfirmacionesPendientes', 'contentMisConfirmaciones')">Mis Confirmaciones Pendientes</button>
<button id="subTabConfirmacionesRealizadas" class="sub-tab-button" onclick="openSubTab('contentConfirmacionesRealizadas', 'subTabConfirmacionesRealizadas', 'contentMisConfirmaciones')">Mis Confirmaciones Realizadas</button>
</div>
<div id="contentConfirmacionesPendientes" class="sub-tab-content active">
<table>
<thead>
<tr>
<th>Acción</th>
<th>Fecha solicitud</th>
<th>RUT Funcionario</th>
<th>Nombre Funcionario</th>
<th>Solicitud</th>
<th>Periodo</th>
<th>RUT Contribuyente</th>
<th>Folio</th>
<th>Decisión</th>
<th>Monto Autorizado de Devolución</th>
<th>Dias Pendientes para Resolver</th>
<th>Detalle</th>
</tr>
</thead>
<tbody> <!-- ejemplos -->
<tr> <!-- ejemplos 1-->
<td>Decision 48 Horas</td>
<td>22-05-2025</td>
<td>13226394-9</td>
<td>PAULINA NUÑEZ BARRIA</td>
<td>Iva Exportador</td>
<td>202501</td>
<td>96221107-0</td>
<td>10004779</td>
<td>Ha lugar</td>
<td>30000000</td>
<td>-</td>
<td><button class="action-button">Ver</button></td>
</tr>
<tr><!-- ejemplos 2-->
<td>Decision 48 Horas</td>
<td>21-05-2025</td>
<td>13226394-9</td>
<td>PAULINA NUÑEZ BARRIA</td>
<td>Iva Exportador</td>
<td>202501</td>
<td>97221107-0</td>
<td>11004779</td>
<td>Ha lugar en parte</td>
<td>15000000</td>
<td>30</td>
<td><button class="action-button">Ver</button></td>
</tr>
<tr><!-- ejemplos 3-->
<td>Decision 48 Horas-Dispone FEP</td>
<td>10-05-2025</td>
<td>13226394-9</td>
<td>PAULINA NUÑEZ BARRIA</td>
<td>Iva Exportador</td>
<td>202501</td>
<td>97221107-0</td>
<td>11004779</td>
<td>Ha lugar en parte</td>
<td>15000000</td>
<td>30</td>
<td><button class="action-button">Ver</button></td>
</tr>
<tr><!-- ejemplos 4-->
<td>FEP</td>
<td>14-05-2025</td>
<td>13226394-9</td>
<td>PAULINA NUÑEZ BARRIA</td>
<td>Iva Exportador</td>
<td>202501</td>
<td>97221107-0</td>
<td>11004779</td>
<td>Denegatoria(No Ha lugar)</td>
<td>15000000</td>
<td>30</td>
<td><button class="action-button">Ver</button></td>
</tr>
<tr><!-- ejemplos 5-->
<td>Decision 48 Horas</td>
<td>15-05-2025</td>
<td>13226394-9</td>
<td>PAULINA NUÑEZ BARRIA</td>
<td>Iva Exportador</td>
<td>202501</td>
<td>97221107-0</td>
<td>11004779</td>
<td>Ha lugar en parte</td>
<td>15000000</td>
<td>30</td>
<td><button class="action-button">Ver</button></td>
</tr>
</tbody>
</table>
</div>
<div id="contentConfirmacionesRealizadas" class="sub-tab-content">
<table>
<thead>
<tr>
<th>Acción</th>
<th>Fecha solicitud</th>
<th>RUT Funcionario</th>
<th>Nombre Funcionario</th>
<th>Solicitud</th>
<th>Periodo</th>
<th>RUT Contribuyente</th>
<th>Folio</th>
<th>Decisión</th>
<th>Monto Autorizado de Devolución</th>
<th>Fecha Autorización de Devolución</th>
<th>Rut Autorizador</th>
</tr>
</thead>
<tbody>
<!-- ejemplos -->
</tbody>
</table>
</div> </div> <div id="contentResoluciones" class="tab-content">
<!-- Sub-pestañas dentro de Resoluciones --> <div class="sub-tabs-navigation">
<button id="subTabResoluciones" class="sub-tab-button active" data-target="contentSubResoluciones" onclick="openSubTab('contentSubResoluciones', 'subTabResoluciones', 'contentResoluciones')">Resoluciones</button>
<button id="subTabResolucionesFirmadas" class="sub-tab-button" data-target="contentResolucionesFirmadas" onclick="openSubTab('contentResolucionesFirmadas', 'subTabResolucionesFirmadas', 'contentResoluciones')">Mis Resoluciones Firmadas</button>
</div>
<div id="contentSubResoluciones" class="sub-tab-content active">
<table>
<thead>
<tr>
<th>Nº Resolución</th>
<th>Fecha</th>
<th>RUT Contribuyente</th>
<th>Razón Social</th>
<th>Tipo</th>
<th>Estado</th>
<th>Funcionario Asignado</th>
<th>Acción</th>
</tr>
</thead>
<tbody>
<!-- Ejemplos de resoluciones -->
<tr>
<td>RES-2025-0001</td>
<td>20-05-2025</td>
<td>96.221.107-0</td>
<td>Empresa Ejemplo S.A.</td>
<td>Devolución</td>
<td>Pendiente firma</td>
<td>PAULINA NUÑEZ BARRIA</td>
<td><button class="action-button">Revisar</button></td>
</tr>
<tr>
<td>RES-2025-0002</td>
<td>19-05-2025</td>
<td>97.221.107-0</td>
<td>Importadora Nacional Ltda.</td>
<td>Rechazo</td>
<td>Pendiente firma</td>
<td>PAULINA NUÑEZ BARRIA</td>
<td><button class="action-button">Revisar</button></td>
</tr> </tbody>
</table>
</div>
<div id="contentResolucionesFirmadas" class="sub-tab-content">
<table>
<thead>
<tr>
<th>Nº Resolución</th>
<th>Fecha Firma</th>
<th>RUT Contribuyente</th>
<th>Razón Social</th>
<th>Tipo</th>
<th>Monto</th>
<th>Funcionario Responsable</th>
<th>Acción</th>
</tr>
</thead>
<tbody>
<!-- Ejemplos de resoluciones firmadas -->
<tr>
<td>RES-2025-0003</td>
<td>18-05-2025</td>
<td>76.543.210-K</td>
<td>Distribuidora Central S.A.</td>
<td>Devolución</td>
<td>25.000.000</td>
<td>PAULINA NUÑEZ BARRIA</td>
<td><button class="action-button">Ver</button></td>
</tr>
<tr>
<td>RES-2025-0004</td>
<td>17-05-2025</td>
<td>77.654.321-0</td>
<td>Comercial del Sur Ltda.</td>
<td>Rechazo</td>
<td>0</td>
<td>PAULINA NUÑEZ BARRIA</td>
<td><button class="action-button">Ver</button></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="contentSubrrogancias" class="tab-content">
<div class="subrogancia-form">
<div class="form-row">
<div class="form-group">
<label>Asignar Subrrogancia:</label>
<select class="form-control">
<option value="">Seleccione usuario</option>
<option value="1">Usuario Subrrogante 1</option>
<option value="2">Usuario Subrrogante 2</option>
</select>
</div>
<div class="form-group">
<label>Fecha de inicio subrrogancia:</label>
<input type="date" class="form-control">
</div>
<div class="form-group">
<label>Fecha de término subrrogancia:</label>
<input type="date" class="form-control">
</div>
</div>
<button class="submit-button">Guardar Subrrogancia</button> </div>
<div class="historial-container">
<h3>Historial de Subrrogancias</h3>
<table id="tablaHistorialSubrrogancias">
<thead>
<tr>
<th>Fecha de ingreso subrrogancia</th>
<th>Funcionario Subrrogante</th>
<th>Fecha de Inicio</th>
<th>Fecha de Término</th>
<th>Vigencia</th>
<th>Acciones</th>
</tr>
</thead>
<tbody>
<!-- ejemplos -->
<tr>
<td>20-05-2025</td>
<td>Usuario Subrrogante 1</td>
<td>22-05-2025</td>
<td>25-05-2025</td>
<td class="vigente">Vigente</td>
<td><button class="btn-eliminar">Eliminar</button></td>
</tr>
<tr>
<td>15-05-2025</td>
<td>Usuario Subrrogante 2</td>
<td>16-05-2025</td>
<td>18-05-2025</td>
<td class="no-vigente">No vigente</td>
<td><button class="btn-eliminar">Eliminar</button></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</main>
<!-- Popup structure -->
<div id="detailPopup" class="popup-overlay">
<div class="popup-container">
<button class="popup-close" onclick="closeDetailPopup()" aria-label="Cerrar" tabindex="0">×</button>
<h2 class="popup-title">Detalle de Solicitud</h2>
<!-- Sección 1: Información General -->
<div class="popup-section">
<h3>Información General</h3>
<div class="popup-info-grid">
<div class="popup-info-item">
<label>Tipo de Solicitud:</label>
<span id="popupTipoSolicitud"></span>
</div>
<div class="popup-info-item">
<label>Acción:</label>
<span id="popupAccion"></span>
</div>
<div class="popup-info-item">
<label>Fecha Solicitud:</label>
<span id="popupFechaSolicitud"></span>
</div>
<div class="popup-info-item">
<label>Folio:</label>
<span id="popupFolio"></span>
</div>
<div class="popup-info-item">
<label>RUT Funcionario:</label>
<span id="popupRutFuncionario"></span>
</div>
<div class="popup-info-item">
<label>Nombre Funcionario:</label>
<span id="popupNombreFuncionario"></span>
</div>
</div>
</div>
<!-- Sección 2: Decisión -->
<div class="popup-section">
<h3>Decisión</h3>
<div class="popup-info-grid">
<div class="popup-info-item">
<label>Decisión:</label>
<span id="popupDecision"></span>
</div>
<div class="popup-info-item">
<label>Monto Autorizado:</label>
<span id="popupMontoAutorizado"></span>
</div>
<div class="popup-info-item" style="grid-column: span 2;">
<label>Comentarios Realizados:</label>
<span id="popupComentarios">No hay comentarios registrados para esta solicitud.</span>
</div>
</div>
</div>
<!-- Sección 3: Historial de Eventos -->
<div class="popup-section">
<h3>Historial de Eventos</h3>
<div id="popupLoadingIndicator" class="loading-indicator">
<div class="loading-spinner"></div>
<p>Cargando datos del historial...</p>
</div>
<table class="popup-history-table">
<thead>
<tr>
<th>Evento</th>
<th>Fecha y Hora</th>
<th>Funcionario</th>
<th>Documento</th>
</tr>
</thead>
<tbody id="popupHistorialBody">
<!-- Filas de historial se generarán dinámicamente -->
</tbody>
</table>
</div>
</div>
</div> <script src="script.js"></script>
<script src="popup.js"></script>
</body>
</html>