Aprobación de Agencias

This commit is contained in:
2025-07-14 13:27:15 -06:00
parent e820f81d31
commit 0e88fea37e
36 changed files with 2807 additions and 1128 deletions

View File

@@ -110,8 +110,8 @@ if ($tipoUsuario === 'agente_aduanal') {
<td><?= htmlspecialchars($aa['curp']) ?></td>
<td><?= htmlspecialchars($aa['razon_social']) ?></td>
<td>
<a href="/IMPORTADORES/patente/editar?id=<?= $aa['id_agente'] ?>" class="btn btn-sm btn-primary">✏️</a>
<button class="btn btn-sm btn-danger" onclick="confirmDeleteChofer(<?= $aa['id_agente'] ?>)">🗑️</button>
<a href="/IMPORTADORES/patente/editar?id=<?= $aa['id_agente'] ?>" class="btn btn-sm btn-primary mt-auto w-auto btn-animated">✏️</a>
<button class="btn btn-sm btn-danger mt-auto w-auto btn-animated" onclick="confirmDeleteChofer(<?= $aa['id_agente'] ?>)">🗑️</button>
</td>
</tr>
<?php endforeach; ?>
@@ -147,13 +147,13 @@ if ($tipoUsuario === 'agente_aduanal') {
});
<?php if(isset($_GET['deleted'])): ?>
Swal.fire('¡Hecho!','Agente eliminado.','success');
Swal.fire('¡Hecho!','Patente eliminada.','success');
<?php endif; ?>
<?php if(isset($_GET['created'])): ?>
Swal.fire('¡Listo!','Agente creado.','success');
Swal.fire('¡Listo!','Patente creado.','success');
<?php endif; ?>
<?php if(isset($_GET['updated'])): ?>
Swal.fire('¡Listo!','Agente actualizado.','success');
Swal.fire('¡Listo!','Patente actualizada.','success');
<?php endif; ?>
</script>