mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 12:30:35 +01:00
Fix esportazione bancaria vuota
This commit is contained in:
parent
eee3f4382a
commit
ca3a074e77
@ -521,6 +521,7 @@ class Gestore
|
||||
->setNumberOfTransactions($this->numero_transazioni_debito_diretto);
|
||||
$this->debito_diretto->setGroupHeader($groupHeader);
|
||||
|
||||
if($groupHeader->getNumberOfTransactions() > 0) {
|
||||
$xml = $this->debito_diretto->xml();
|
||||
|
||||
// Generazione filename
|
||||
@ -530,6 +531,7 @@ class Gestore
|
||||
|
||||
// Salvataggio del file
|
||||
file_put_contents(base_dir().'/'.$file, $xml);
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user