mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-02 19:14:35 -04:00
Fix bug with passing correct $amount
This commit is contained in:
parent
951188b39e
commit
ee9bba2ae0
@ -112,7 +112,11 @@
|
|||||||
<!-- App\Utils\Number::formatMoney($invoice->amount, $invoice->client) -->
|
<!-- App\Utils\Number::formatMoney($invoice->amount, $invoice->client) -->
|
||||||
<!-- Disabled input field don't send it's value with request. -->
|
<!-- Disabled input field don't send it's value with request. -->
|
||||||
@if(!$settings->client_portal_allow_under_payment && !$settings->client_portal_allow_over_payment)
|
@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
|
@else
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<input
|
<input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user