This commit is contained in:
2025-05-27 10:03:50 -06:00
parent f611c35b49
commit a2ad7d2dba
7 changed files with 397 additions and 154 deletions

View File

@@ -3,7 +3,6 @@
<head>
<meta charset="UTF-8">
<title>📂 Ver Expediente</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
@@ -21,7 +20,10 @@
<div class="card p-4 bg-white shadow-sm">
<?php if (empty($archivos)): ?>
<p>No hay archivos subidos para esta solicitud.</p>
<a href="/IMPORTADORES/expediente/subir/<?= $id_solicitud ?>" class="btn btn-success"> Subir archivos</a>
<?php else: ?>
<div class="mb-3">
<a href="/IMPORTADORES/expediente/descargar_zip/<?= $id_solicitud ?>" class="btn btn-outline-dark">📦 Descargar todo en ZIP</a>
@@ -29,7 +31,7 @@
<table class="table table-hover table-bordered">
<thead class="table-light">
<tr>
<th>Archivo</th>
<th>Archivo </th>
<th>Tipo</th>
<th>Tamaño (KB)</th>
<th>Subido por</th>