mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for fattura pa
This commit is contained in:
parent
4f2f509b16
commit
3e765bc972
@ -185,7 +185,7 @@ class FatturaPA extends AbstractService
|
|||||||
$cedentePrestatore->setDatiAnagrafici($datiAnagrafici);
|
$cedentePrestatore->setDatiAnagrafici($datiAnagrafici);
|
||||||
|
|
||||||
$sede = new Sede(Indirizzo: $this->invoice->company->settings->address1,
|
$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,
|
Comune: $this->invoice->company->settings->city,
|
||||||
Provincia: $this->invoice->company->settings->state);
|
Provincia: $this->invoice->company->settings->state);
|
||||||
|
|
||||||
|
@ -41,8 +41,6 @@ class FatturaPATest extends TestCase
|
|||||||
$fat = new FatturaPA($this->invoice);
|
$fat = new FatturaPA($this->invoice);
|
||||||
$xml = $fat->run();
|
$xml = $fat->run();
|
||||||
|
|
||||||
// nlog($xml);
|
|
||||||
|
|
||||||
$this->assertnotNull($xml);
|
$this->assertnotNull($xml);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user