actualizado 3-sept
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
{% block content %}
|
||||
<div class="page-header">
|
||||
<div class="page-eyebrow">Gestión</div>
|
||||
<div class="page-title">Via-T</div>
|
||||
<div class="page-subtitle">Listado de vehículos con dispositivo Via-T. Búsqueda por Via-T, m.oficial, m.civil, marca, modelo, poblacion, unidad tipo.</div>
|
||||
<div class="page-title"><i class="bi bi-broadcast"></i> Via-T</div>
|
||||
<div class="page-subtitle">Listado de vehículos con dispositivo Via-T. Búsqueda por Via-T, m.oficial, m.reservada, marca, modelo, poblacion, unidad, tipo.</div>
|
||||
</div>
|
||||
|
||||
<div class="crud-toolbar">
|
||||
@@ -67,7 +67,7 @@
|
||||
<tr>
|
||||
<th>Via-T</th>
|
||||
<th>M. Oficial</th>
|
||||
<th>M. Civil</th>
|
||||
<th>M. Reservada</th>
|
||||
<th>Marca</th>
|
||||
<th>Modelo</th>
|
||||
<th>Población</th>
|
||||
@@ -129,7 +129,7 @@
|
||||
document.getElementById('btnPDF').addEventListener('click', function() {
|
||||
var titulo = 'Listado Via-T';
|
||||
var fecha = new Date().toLocaleDateString('es-ES');
|
||||
var heads = ['Via-T','M. Oficial','M. Civil','Marca','Modelo','Población','Unidad','Tipo'];
|
||||
var heads = ['Via-T','M. Oficial','M. Reservada','Marca','Modelo','Población','Unidad','Tipo'];
|
||||
var filas = '';
|
||||
document.querySelectorAll('#tablaViat tbody tr[data-id]').forEach(function(tr) {
|
||||
filas += '<tr>';
|
||||
@@ -160,7 +160,7 @@
|
||||
/* ── COPIAR ── */
|
||||
document.getElementById('btnCopiar').addEventListener('click', function() {
|
||||
var btn = this;
|
||||
var heads = ['Via-T','M. Oficial','M. Civil','Marca','Modelo','Población','Unidad','Tipo'];
|
||||
var heads = ['Via-T','M. Oficial','M. Reservada','Marca','Modelo','Población','Unidad','Tipo'];
|
||||
var lineas = [heads.join('\t')];
|
||||
document.querySelectorAll('#tablaViat tbody tr[data-id]').forEach(function(tr) {
|
||||
var fila = [];
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
onmouseout="this.style.background=''">
|
||||
<td><strong>{{ r['viat'] or '—' }}</strong></td>
|
||||
<td>{{ r['m_oficial'] or '—' }}</td>
|
||||
<td>{{ r['m_civil'] or '—' }}</td>
|
||||
<td>{{ r['m_reservada'] or '—' }}</td>
|
||||
<td>{{ r['marca'] or '—' }}</td>
|
||||
<td>{{ r['modelo'] or '—' }}</td>
|
||||
<td>{{ r['poblacion'] or '—' }}</td>
|
||||
|
||||
Reference in New Issue
Block a user