{!! Former::select('currency_id')->addOption('','')
->placeholder($account->currency ? $account->currency->getTranslatedName() : '')
->fromQuery($currencies, 'name', 'id') !!}
{!! Former::select('language_id')->addOption('','')
->placeholder($account->language ? trans('texts.lang_'.$account->language->name) : '')
->fromQuery($languages, 'name', 'id') !!}
{!! Former::select('payment_terms')->addOption('','')
->fromQuery(\App\Models\PaymentTerm::getSelectOptions(), 'name', 'num_days')
->placeholder($account->present()->paymentTerms)
->help(trans('texts.payment_terms_help') . ' | ' . link_to('/settings/payment_terms', trans('texts.customize_options'))) !!}
@if ($account->isModuleEnabled(ENTITY_TASK))
{!! Former::text('task_rate')
->placeholder($account->present()->taskRate)
->help('task_rate_help') !!}
{!! Former::checkbox('show_tasks_in_portal')
->text(trans('texts.show_tasks_in_portal'))
->label('client_portal')
->value(1) !!}
@endif
@if ($account->hasReminders())
{!! Former::checkbox('send_reminders')
->text('send_client_reminders')
->label('reminders')
->value(1) !!}
@endif
{!! Former::textarea('public_notes')->rows(6) !!}
{!! Former::textarea('private_notes')->rows(6) !!}
@if (Utils::isPaidPro())
@foreach (App\Models\Account::$customMessageTypes as $type)
{!! Former::textarea('custom_messages[' . $type . ']')
->placeholder($account->customMessage($type))
->label($type) !!}
@endforeach
@endif
{!! Former::select('size_id')->addOption('','')
->fromQuery($sizes, 'name', 'id') !!}
{!! Former::select('industry_id')->addOption('','')
->fromQuery($industries, 'name', 'id') !!}