mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-19 16:01:34 +02:00
Country chooser for vendors and stripe payment doesn't use translated strings #1225
This commit is contained in:
parent
e785ebab5e
commit
43b703430e
@ -152,7 +152,6 @@ class VendorController extends BaseController
|
||||
'data' => Input::old('data'),
|
||||
'account' => Auth::user()->account,
|
||||
'currencies' => Cache::get('currencies'),
|
||||
'countries' => Cache::get('countries'),
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -17,9 +17,11 @@ class ComposerServiceProvider extends ServiceProvider
|
||||
[
|
||||
'accounts.details',
|
||||
'clients.edit',
|
||||
'vendors.edit',
|
||||
'payments.edit',
|
||||
'invoices.edit',
|
||||
'accounts.localization',
|
||||
'payments.credit_card',
|
||||
],
|
||||
'App\Http\ViewComposers\TranslationComposer'
|
||||
);
|
||||
|
@ -193,7 +193,7 @@
|
||||
<div class="col-md-6">
|
||||
{!! Former::select('country_id')
|
||||
->placeholder(trans('texts.country_id'))
|
||||
->fromQuery(Cache::get('countries'), 'name', 'id')
|
||||
->fromQuery($countries, 'name', 'id')
|
||||
->addGroupClass('country-select')
|
||||
->label('') !!}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user