Fix: se ajusta campo de fuente del pedimento detalle.
This commit is contained in:
@@ -862,7 +862,8 @@ const handleDeleteSelectedPedimentoDocuments = async () => {
|
||||
1: 'Manual',
|
||||
2: 'VU',
|
||||
3: 'Importación',
|
||||
4: 'Sistema'
|
||||
4: 'Sistema',
|
||||
6: 'APP-EFC'
|
||||
};
|
||||
return fuentes[fuente] || 'Desconocida';
|
||||
};
|
||||
@@ -2564,6 +2565,7 @@ const handleDeleteSelectedPedimentoDocuments = async () => {
|
||||
{activeTab === 'documentos' && (
|
||||
<div className="p-6">
|
||||
{/* 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="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">
|
||||
@@ -2947,7 +2949,8 @@ const handleDeleteSelectedPedimentoDocuments = async () => {
|
||||
</td>
|
||||
<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">
|
||||
{getFuenteName(doc.fuente)}
|
||||
{/* {getFuenteName(doc.fuente)} */}
|
||||
{doc.fuente_nombre}
|
||||
</span>
|
||||
</td>
|
||||
<td className="px-6 py-4 text-sm text-gray-500 whitespace-nowrap">
|
||||
|
||||
Reference in New Issue
Block a user