new list design

This commit is contained in:
denisdulici
2017-10-13 18:41:17 +03:00
parent 705b704685
commit a936c54daa
21 changed files with 376 additions and 261 deletions

View File

@ -24,7 +24,7 @@ class Payments extends Controller
*/
public function index()
{
$payments = Payment::with(['account', 'category'])->collect();
$payments = Payment::with(['vendor', 'account', 'category'])->collect();
$vendors = collect(Vendor::enabled()->pluck('name', 'id'))
->prepend(trans('general.all_type', ['type' => trans_choice('general.vendors', 2)]), '');