mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-30 01:31:14 +01:00
Fix generazione sepa
This commit is contained in:
parent
a3cd71e07f
commit
e2dc1423c2
@ -138,7 +138,7 @@ class CbiSepa
|
||||
$el1->appendChild($el2);
|
||||
$el->appendChild($el1);
|
||||
$el1 = $domDoc->createElement("Amt", "");
|
||||
$el2 = $domDoc->createElement("InstdAmt", number_format(round($ricevuta->importo,2),2,'.',''));
|
||||
$el2 = $domDoc->createElement("InstdAmt", number_format($ricevuta->importo,2,'.',''));
|
||||
$newel2 = $el1->appendChild($el2);
|
||||
$newel2->setAttribute("Ccy", "EUR");
|
||||
$el->appendChild($el1);
|
||||
|
@ -256,7 +256,7 @@ class Gestore
|
||||
return true;
|
||||
}
|
||||
|
||||
public function aggiungiBonifico(int $identifier, Anagrafica $controparte, Banca $banca_controparte, string $descrizione, int $totale, DateTime $data_prevista, $ctgypurp)
|
||||
public function aggiungiBonifico(int $identifier, Anagrafica $controparte, Banca $banca_controparte, string $descrizione, float $totale, DateTime $data_prevista, $ctgypurp)
|
||||
{
|
||||
$data_scadenza = $data_prevista->format('dmy');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user