Minor fixes
This commit is contained in:
parent
3cdbf197e6
commit
9dd4df54df
|
|
@ -579,7 +579,7 @@ class Peppol extends AbstractService
|
||||||
|
|
||||||
$pa = new PayableAmount();
|
$pa = new PayableAmount();
|
||||||
$pa->currencyID = $this->invoice->client->currency()->code;
|
$pa->currencyID = $this->invoice->client->currency()->code;
|
||||||
$pa->amount = number_format($this->invoice->amount, 2, '.', '');;
|
$pa->amount = $this->invoice->amount;
|
||||||
$lmt->PayableAmount = $pa;
|
$lmt->PayableAmount = $pa;
|
||||||
|
|
||||||
$am = new \InvoiceNinja\EInvoice\Models\Peppol\AmountType\AllowanceTotalAmount();
|
$am = new \InvoiceNinja\EInvoice\Models\Peppol\AmountType\AllowanceTotalAmount();
|
||||||
|
|
@ -1088,7 +1088,7 @@ class Peppol extends AbstractService
|
||||||
?? $this->invoice->client->vat_number
|
?? $this->invoice->client->vat_number
|
||||||
?? $this->invoice->client->id_number
|
?? $this->invoice->client->id_number
|
||||||
?? 'fallback1234';
|
?? 'fallback1234';
|
||||||
|
|
||||||
$id->schemeID = $this->resolveScheme(true);
|
$id->schemeID = $this->resolveScheme(true);
|
||||||
$party->EndpointID = $id;
|
$party->EndpointID = $id;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue