mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix placholder translation
This commit is contained in:
parent
736f1683d1
commit
ecaf16f9bd
@ -219,7 +219,7 @@
|
|||||||
<div class="tab-content" style="padding-top:24px;">
|
<div class="tab-content" style="padding-top:24px;">
|
||||||
<div role="tabpanel" class="tab-pane active" id="settings">
|
<div role="tabpanel" class="tab-pane active" id="settings">
|
||||||
{!! Former::select('currency_id')->addOption('','')
|
{!! 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') !!}
|
->fromQuery($currencies, 'name', 'id') !!}
|
||||||
{!! Former::select('language_id')->addOption('','')
|
{!! Former::select('language_id')->addOption('','')
|
||||||
->placeholder($account->language ? trans('texts.lang_'.$account->language->name) : '')
|
->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">
|
<div class="panel-body">
|
||||||
|
|
||||||
{!! Former::select('currency_id')->addOption('','')
|
{!! Former::select('currency_id')->addOption('','')
|
||||||
->placeholder($account->currency ? $account->currency->name : '')
|
->placeholder($account->currency ? $account->currency->getTranslatedName() : '')
|
||||||
->fromQuery($currencies, 'name', 'id') !!}
|
->fromQuery($currencies, 'name', 'id') !!}
|
||||||
{!! Former::textarea('private_notes')->rows(6) !!}
|
{!! Former::textarea('private_notes')->rows(6) !!}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user