Changes for prepayment amount placeholder

This commit is contained in:
David Bomba 2023-03-21 17:14:21 +11:00
parent 1bc53383be
commit 2e2b9da980
2 changed files with 30 additions and 2 deletions

View File

@ -5032,6 +5032,30 @@ $LANG = array(
'product_type_digital' => 'Digital Goods',
'product_type_service' => 'Services',
'product_type_freight' => 'Shipping',
'minimum_payment_amount' => 'Minimum Payment Amount',
'client_initiated_payments' => 'Client Initiated Payments',
'client_initiated_payments_help' => 'Support making a payment in the client portal without an invoice',
'share_invoice_quote_columns' => 'Share Invoice/Quote Columns',
'cc_email' => 'CC Email',
'payment_balance' => 'Payment Balance',
'view_report_permission' => 'Allow user to access the reports, data is limited to available permissions',
'activity_138' => 'Payment :payment was emailed to :client',
'one_time_products' => 'One-Time Products',
'optional_one_time_products' => 'Optional One-Time Products',
'required' => 'Required',
'hidden' => 'Hidden',
'payment_links' => 'Payment Links',
'payment_link' => 'Payment Link',
'new_payment_link' => 'New Payment Link',
'edit_payment_link' => 'Edit Payment Link',
'created_payment_link' => 'Successfully created payment link',
'updated_payment_link' => 'Successfully updated payment link',
'archived_payment_link' => 'Successfully archived payment link',
'deleted_payment_link' => 'Successfully deleted payment link',
'removed_payment_link' => 'Successfully removed payment link',
'restored_payment_link' => 'Successfully restored payment link',
'search_payment_link' => 'Search 1 Payment Link',
'search_payment_links' => 'Search :count Payment Links',
);

View File

@ -40,9 +40,13 @@
type="text"
class="input mt-0 mr-4 relative"
name="amount"
placeholder="{{ $minimum_amount }}"
placeholder=""
min="{{ $minimum_amount }}"/>
@if($minimum_amount > 0)
<p>{{ ctrans('texts.minimum_required_payment', ['amount' => $minimum_amount])}}</p>
@endif
@if($errors->has('amount'))
<p class="mt-2 text-red-900 border-red-300 px-2 py-1 bg-gray-100">{{ $errors->first('amount') }}</p>
@endif