This commit is contained in:
2025-09-01 16:38:47 -06:00
parent 0d3d20832f
commit 938e75b9bc
2 changed files with 6 additions and 3 deletions

View File

@@ -475,7 +475,11 @@ export default function Documents() {
</td>
<td className="px-4 py-4 whitespace-nowrap text-sm text-gray-900 font-semibold">{ped.clave_pedimento}</td>
<td className="px-4 py-4 whitespace-nowrap text-sm text-gray-900 font-semibold">{ped.documentos_count}</td>
<td className="px-4 py-4 whitespace-nowrap text-sm text-gray-900 font-semibold">{ped.documentos_peso_total}</td>
<td className="px-4 py-4 whitespace-nowrap text-sm text-gray-900 font-semibold">
{typeof ped.documentos_peso_total === 'number'
? (ped.documentos_peso_total / 1024).toFixed(2) + ' MB'
: ped.documentos_peso_total}
</td>
<td className="px-4 py-4 whitespace-nowrap">
<span className={`inline-flex items-center px-3 py-1 rounded-full text-xs font-semibold ${
ped.existe_expediente