Validacion de tipo de operacion
This commit is contained in:
@@ -71,6 +71,12 @@
|
||||
}
|
||||
|
||||
async function handleAction() {
|
||||
// Only allow Exportacion for MAINX30 for now
|
||||
if (interfaceType === 'MAINX30' && movementType === 'Importacion') {
|
||||
toast.error('Facturación de Importación: Esta interfase solo está disponible para movimientos de EXPORTACIÓN.');
|
||||
return;
|
||||
}
|
||||
|
||||
// Filter out empty manifests
|
||||
const validManifests = manifests.filter((m) => m && m.trim() !== '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user