Fixes for fattura pa

This commit is contained in:
David Bomba 2024-04-10 22:21:24 +10:00
parent 4f2f509b16
commit 3e765bc972
2 changed files with 1 additions and 3 deletions

View File

@ -185,7 +185,7 @@ class FatturaPA extends AbstractService
$cedentePrestatore->setDatiAnagrafici($datiAnagrafici);
$sede = new Sede(Indirizzo: $this->invoice->company->settings->address1,
CAP: $this->invoice->company->settings->postal_code,
CAP: (int)$this->invoice->company->settings->postal_code,
Comune: $this->invoice->company->settings->city,
Provincia: $this->invoice->company->settings->state);

View File

@ -41,8 +41,6 @@ class FatturaPATest extends TestCase
$fat = new FatturaPA($this->invoice);
$xml = $fat->run();
// nlog($xml);
$this->assertnotNull($xml);
}
}