From 9dd4df54df55368ec4c39a8c8312b220be6cda9b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 22 Nov 2024 15:21:20 +1100 Subject: [PATCH] Minor fixes --- app/Services/EDocument/Standards/Peppol.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/EDocument/Standards/Peppol.php b/app/Services/EDocument/Standards/Peppol.php index b589225f35..fc430800b2 100644 --- a/app/Services/EDocument/Standards/Peppol.php +++ b/app/Services/EDocument/Standards/Peppol.php @@ -579,7 +579,7 @@ class Peppol extends AbstractService $pa = new PayableAmount(); $pa->currencyID = $this->invoice->client->currency()->code; - $pa->amount = number_format($this->invoice->amount, 2, '.', '');; + $pa->amount = $this->invoice->amount; $lmt->PayableAmount = $pa; $am = new \InvoiceNinja\EInvoice\Models\Peppol\AmountType\AllowanceTotalAmount(); @@ -1088,7 +1088,7 @@ class Peppol extends AbstractService ?? $this->invoice->client->vat_number ?? $this->invoice->client->id_number ?? 'fallback1234'; - + $id->schemeID = $this->resolveScheme(true); $party->EndpointID = $id;