mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01: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'),
|
'data' => Input::old('data'),
|
||||||
'account' => Auth::user()->account,
|
'account' => Auth::user()->account,
|
||||||
'currencies' => Cache::get('currencies'),
|
'currencies' => Cache::get('currencies'),
|
||||||
'countries' => Cache::get('countries'),
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,9 +17,11 @@ class ComposerServiceProvider extends ServiceProvider
|
|||||||
[
|
[
|
||||||
'accounts.details',
|
'accounts.details',
|
||||||
'clients.edit',
|
'clients.edit',
|
||||||
|
'vendors.edit',
|
||||||
'payments.edit',
|
'payments.edit',
|
||||||
'invoices.edit',
|
'invoices.edit',
|
||||||
'accounts.localization',
|
'accounts.localization',
|
||||||
|
'payments.credit_card',
|
||||||
],
|
],
|
||||||
'App\Http\ViewComposers\TranslationComposer'
|
'App\Http\ViewComposers\TranslationComposer'
|
||||||
);
|
);
|
||||||
|
@ -193,7 +193,7 @@
|
|||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
{!! Former::select('country_id')
|
{!! Former::select('country_id')
|
||||||
->placeholder(trans('texts.country_id'))
|
->placeholder(trans('texts.country_id'))
|
||||||
->fromQuery(Cache::get('countries'), 'name', 'id')
|
->fromQuery($countries, 'name', 'id')
|
||||||
->addGroupClass('country-select')
|
->addGroupClass('country-select')
|
||||||
->label('') !!}
|
->label('') !!}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user