Fix bug with passing correct $amount
This commit is contained in:
parent
951188b39e
commit
ee9bba2ae0
1 changed files with 5 additions and 1 deletions
|
|
@ -112,7 +112,11 @@
|
|||
<!-- App\Utils\Number::formatMoney($invoice->amount, $invoice->client) -->
|
||||
<!-- Disabled input field don't send it's value with request. -->
|
||||
@if(!$settings->client_portal_allow_under_payment && !$settings->client_portal_allow_over_payment)
|
||||
<span class="mt-1 text-sm text-gray-800">{{ App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }}</span>
|
||||
<input
|
||||
name="payable_invoices[{{$key}}][amount]"
|
||||
value="{{ $invoice->partial > 0 ? $invoice->partial : $invoice->balance }}"
|
||||
class="mt-1 text-sm text-gray-800"
|
||||
readonly />
|
||||
@else
|
||||
<div class="flex items-center">
|
||||
<input
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue