Minor fixes

This commit is contained in:
David Bomba 2024-11-22 15:21:20 +11:00
parent 3cdbf197e6
commit 9dd4df54df
1 changed files with 2 additions and 2 deletions

View File

@ -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;