Merge pull request #2701 from tjmv/2699-translate-selected-vendor-currency

Use translated name for the selected currency on vendor page
This commit is contained in:
Hillel Coren 2019-02-28 15:06:31 +02:00 committed by GitHub
commit af51e715a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) !!}