From 024b5c3a1f1e769cad670274abf44c63dd641e05 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 3 Jun 2023 12:06:56 +1000 Subject: [PATCH] Improve payment interstitial --- .../portal/ninja2020/invoices/payment.blade.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/resources/views/portal/ninja2020/invoices/payment.blade.php b/resources/views/portal/ninja2020/invoices/payment.blade.php index bc476baca7ed..7d6da3475fce 100644 --- a/resources/views/portal/ninja2020/invoices/payment.blade.php +++ b/resources/views/portal/ninja2020/invoices/payment.blade.php @@ -87,6 +87,18 @@ @endif + @if($settings->client_portal_allow_under_payment || $settings->client_portal_allow_over_payment) +
+
+ {{ ctrans('texts.amount_due') }} +
+
+ {{ $invoice->client->currency()->code }} ({{ $invoice->client->currency()->symbol }}) + {{ $invoice->partial > 0 ? $invoice->partial : $invoice->balance }} +
+
+ @endif + @if(!empty($invoice->amount) && !is_null($invoice->amount))
@@ -106,10 +118,10 @@ readonly /> @else +