Gestione esclusione allegati import FE
This commit is contained in:
parent
9295eae151
commit
017e25a52c
|
@ -186,10 +186,12 @@ class FatturaElettronica
|
|||
}
|
||||
|
||||
$original = $allegato['NomeAttachment'].$extension;
|
||||
Uploads::upload($content, array_merge($info, [
|
||||
'name' => $allegato['NomeAttachment'],
|
||||
'original_name' => $original,
|
||||
]));
|
||||
try {
|
||||
Uploads::upload($content, array_merge($info, [
|
||||
'name' => $allegato['NomeAttachment'],
|
||||
'original_name' => $original,
|
||||
]));
|
||||
} catch(UnexpectedValueException $e) {}
|
||||
}
|
||||
|
||||
// Registrazione XML come allegato
|
||||
|
|
Loading…
Reference in New Issue