diff --git a/lang/en/texts.php b/lang/en/texts.php index e017dbfecb22..0b7f9d461c56 100644 --- a/lang/en/texts.php +++ b/lang/en/texts.php @@ -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', ); diff --git a/resources/views/portal/ninja2020/pre_payments/index.blade.php b/resources/views/portal/ninja2020/pre_payments/index.blade.php index 2a0455c25f63..0e3498850c35 100644 --- a/resources/views/portal/ninja2020/pre_payments/index.blade.php +++ b/resources/views/portal/ninja2020/pre_payments/index.blade.php @@ -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) +
{{ ctrans('texts.minimum_required_payment', ['amount' => $minimum_amount])}}
+ @endif + @if($errors->has('amount')){{ $errors->first('amount') }}
@endif