actualizado 3-sept
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
{% block content %}
|
||||
<div class="page-header">
|
||||
<div class="page-eyebrow">Revisiones</div>
|
||||
<div class="page-title">Control de ITV</div>
|
||||
<div class="page-title"><i class="bi bi-calendar-check"></i> Control de ITV</div>
|
||||
<div class="page-subtitle">Filtra los vehículos por fecha de vencimiento de la ITV, población, unidad, tipo vehículo.</div>
|
||||
</div>
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
<tr>
|
||||
<th hidden>ID</th>
|
||||
<th>M. Oficial</th>
|
||||
<th>M. Civil</th>
|
||||
<th>M. Reservada</th>
|
||||
<th>Marca</th>
|
||||
<th>Modelo</th>
|
||||
<th>Tipo</th>
|
||||
@@ -190,7 +190,7 @@
|
||||
onmouseout="this.style.background=''">
|
||||
<td hidden class="td-id">#{{ r['id'] }}</td>
|
||||
<td>{{ r['m_oficial'] or '—' }}</td>
|
||||
<td>{{ r['m_civil'] or '—' }}</td>
|
||||
<td>{{ r['m_reservada'] or '—' }}</td>
|
||||
<td><strong>{{ r['marca'] or '—' }}</strong></td>
|
||||
<td>{{ r['modelo'] or '—' }}</td>
|
||||
<td>{{ r['tipo'] or '—' }}</td>
|
||||
@@ -261,7 +261,7 @@
|
||||
var desde = '{{ desde }}', hasta = '{{ hasta }}';
|
||||
var titulo = 'Control ITV' + (desde ? ' — Desde: ' + desde : '') + (hasta ? ' Hasta: ' + hasta : '');
|
||||
var fecha = new Date().toLocaleDateString('es-ES');
|
||||
var heads = ['M. Oficial','M. Civil','Marca','Modelo','Tipo','Poblacion',"Unidad",'Fecha ITV','Estado'];
|
||||
var heads = ['M. Oficial','M. Reservada','Marca','Modelo','Tipo','Poblacion',"Unidad",'Fecha ITV','Estado'];
|
||||
var filas = '';
|
||||
|
||||
document.querySelectorAll('#tablaITV tbody tr').forEach(function(tr) {
|
||||
@@ -296,7 +296,7 @@
|
||||
// COPIAR
|
||||
document.getElementById('btnCopiar') && document.getElementById('btnCopiar').addEventListener('click', function() {
|
||||
var btn = this;
|
||||
var heads = ['M. Oficial','M. Civil','Marca','Modelo','Tipo','Poblacion ','Unidad','Fecha ITV','Estado'];
|
||||
var heads = ['M. Oficial','M. Reservada','Marca','Modelo','Tipo','Poblacion ','Unidad','Fecha ITV','Estado'];
|
||||
var lineas = [heads.join('\t')];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user