3 Commits

2 changed files with 1612 additions and 126 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -862,7 +862,8 @@ const handleDeleteSelectedPedimentoDocuments = async () => {
1: 'Manual', 1: 'Manual',
2: 'VU', 2: 'VU',
3: 'Importación', 3: 'Importación',
4: 'Sistema' 4: 'Sistema',
6: 'APP-EFC'
}; };
return fuentes[fuente] || 'Desconocida'; return fuentes[fuente] || 'Desconocida';
}; };
@@ -2564,6 +2565,7 @@ const handleDeleteSelectedPedimentoDocuments = async () => {
{activeTab === 'documentos' && ( {activeTab === 'documentos' && (
<div className="p-6"> <div className="p-6">
{/* Header de la sección */} {/* Header de la sección */}
{/* <pre className="p-4 overflow-auto text-xs bg-gray-100">{JSON.stringify(documents, null, 2)}</pre> */}
<div className="mb-4 space-y-3 sm:mb-6 sm:space-y-4"> <div className="mb-4 space-y-3 sm:mb-6 sm:space-y-4">
<div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between sm:gap-4"> <div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
<div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:gap-4"> <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:gap-4">
@@ -2947,7 +2949,8 @@ const handleDeleteSelectedPedimentoDocuments = async () => {
</td> </td>
<td className="px-6 py-4 whitespace-nowrap"> <td className="px-6 py-4 whitespace-nowrap">
<span className="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800"> <span className="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800">
{getFuenteName(doc.fuente)} {/* {getFuenteName(doc.fuente)} */}
{doc.fuente_nombre}
</span> </span>
</td> </td>
<td className="px-6 py-4 text-sm text-gray-500 whitespace-nowrap"> <td className="px-6 py-4 text-sm text-gray-500 whitespace-nowrap">