mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Removed 'Apply Credit' when editing existing credit
This commit is contained in:
parent
f62f18ea78
commit
018960105b
@ -90,6 +90,9 @@
|
||||
|
||||
@if ($payment)
|
||||
$('#payment_date').datepicker('update', '{{ $payment->payment_date }}')
|
||||
@if ($payment->payment_type_id != PAYMENT_TYPE_CREDIT)
|
||||
$("#payment_type_id option[value='{{ PAYMENT_TYPE_CREDIT }}']").remove();
|
||||
@endif
|
||||
@else
|
||||
$('#payment_date').datepicker('update', new Date());
|
||||
populateInvoiceComboboxes({{ $clientPublicId }}, {{ $invoicePublicId }});
|
||||
|
Loading…
x
Reference in New Issue
Block a user