Gestione esclusione allegati import FE

This commit is contained in:
MatteoPistorello 2022-05-10 15:46:23 +02:00
parent 9295eae151
commit 017e25a52c
1 changed files with 6 additions and 4 deletions

View File

@ -186,10 +186,12 @@ class FatturaElettronica
}
$original = $allegato['NomeAttachment'].$extension;
try {
Uploads::upload($content, array_merge($info, [
'name' => $allegato['NomeAttachment'],
'original_name' => $original,
]));
} catch(UnexpectedValueException $e) {}
}
// Registrazione XML come allegato