Improve payment interstitial

This commit is contained in:
David Bomba 2023-06-03 12:06:56 +10:00
parent db6349fa15
commit 024b5c3a1f

View File

@ -87,6 +87,18 @@
</div>
@endif
@if($settings->client_portal_allow_under_payment || $settings->client_portal_allow_over_payment)
<div class="px-4 py-5 bg-white sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
<dt class="text-sm font-medium leading-5 text-gray-500">
{{ ctrans('texts.amount_due') }}
</dt>
<dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
{{ $invoice->client->currency()->code }} ({{ $invoice->client->currency()->symbol }})
{{ $invoice->partial > 0 ? $invoice->partial : $invoice->balance }}
</dd>
</div>
@endif
@if(!empty($invoice->amount) && !is_null($invoice->amount))
<div class="px-4 py-5 bg-white sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
<dt class="text-sm font-medium leading-5 text-gray-500">
@ -106,10 +118,10 @@
readonly />
</label>
@else
<div class="flex items-center">
<label>
<span class="mt-2">{{ $invoice->client->currency()->code }} ({{ $invoice->client->currency()->symbol }})</span>
<input
type="text"
class="input mt-0 mr-4 relative"