Fix placholder translation
This commit is contained in:
parent
736f1683d1
commit
ecaf16f9bd
2 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,7 @@
|
|||
<div class="tab-content" style="padding-top:24px;">
|
||||
<div role="tabpanel" class="tab-pane active" id="settings">
|
||||
{!! Former::select('currency_id')->addOption('','')
|
||||
->placeholder($account->currency ? trans('texts.currency_'.Str::slug($account->currency->name, '_')) : '')
|
||||
->placeholder($account->currency ? $account->currency->getTranslatedName() : '')
|
||||
->fromQuery($currencies, 'name', 'id') !!}
|
||||
{!! Former::select('language_id')->addOption('','')
|
||||
->placeholder($account->language ? trans('texts.lang_'.$account->language->name) : '')
|
||||
|
|
|
|||
2
resources/views/vendors/edit.blade.php
vendored
2
resources/views/vendors/edit.blade.php
vendored
|
|
@ -118,7 +118,7 @@
|
|||
<div class="panel-body">
|
||||
|
||||
{!! Former::select('currency_id')->addOption('','')
|
||||
->placeholder($account->currency ? $account->currency->name : '')
|
||||
->placeholder($account->currency ? $account->currency->getTranslatedName() : '')
|
||||
->fromQuery($currencies, 'name', 'id') !!}
|
||||
{!! Former::textarea('private_notes')->rows(6) !!}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue