more improvements

This commit is contained in:
denisdulici
2017-09-27 21:58:43 +03:00
parent 47f7b5b20e
commit 092a336396
11 changed files with 11 additions and 25 deletions

View File

@ -19,7 +19,7 @@ class Categories extends Controller
$categories = Category::collect();
$types = collect(['expense' => 'Expense', 'income' => 'Income', 'item' => 'Item', 'other' => 'Other'])
->prepend(trans('categories.all_types'), '');
->prepend(trans('general.all_type', ['type' => trans_choice('general.types', 2)]), '');
return view('settings.categories.index', compact('categories', 'types'));
}