mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 00:04:29 -04:00
padding out e-invoicing - country specifics
This commit is contained in:
parent
6fa23d8538
commit
9a7d5ba644
@ -714,6 +714,11 @@ $tax_amount->amount = $this->invoice->uses_inclusive_taxes ? $this->calcInclusiv
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getSetting(object $e_invoice, string $property_path): mixed
|
||||||
|
{
|
||||||
|
return PropertyResolver::resolve($e_invoice, $property_path);
|
||||||
|
}
|
||||||
|
|
||||||
public function countryLevelMutators():self
|
public function countryLevelMutators():self
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -723,16 +728,10 @@ $tax_amount->amount = $this->invoice->uses_inclusive_taxes ? $this->calcInclusiv
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function setDefaultAccountingSupplierParty(): self
|
|
||||||
{
|
|
||||||
$party = new PeppolParty
|
|
||||||
}
|
|
||||||
|
|
||||||
private function DE(): self
|
private function DE(): self
|
||||||
{
|
{
|
||||||
// accountingsupplierparty.party.contact MUST be set - Name / Telephone / Electronic Mail
|
// accountingsupplierparty.party.contact MUST be set - Name / Telephone / Electronic Mail
|
||||||
if(!isset($this->p_invoice->AccountingSupplierParty->Party->Contact))
|
// this is forced by default.
|
||||||
$this->setDefaultAccountingSupplierParty();
|
|
||||||
|
|
||||||
// ONE payment means MUST be set
|
// ONE payment means MUST be set
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user