Customer invoice payment method some fix

This commit is contained in:
cuneytsenturk
2017-11-29 19:37:16 +03:00
parent 1e96c7ef6e
commit f894e15451
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ class Payments extends Controller
{
$payments = Payment::with(['account', 'category'])->where('customer_id', '=', Auth::user()->customer->id)->paginate();
$payment_methods = Modules::getPaymentMethods();
$payment_methods = Modules::getPaymentMethods('all');
$categories = collect(Category::enabled()->type('income')->pluck('name', 'id'))
->prepend(trans('general.all_type', ['type' => trans_choice('general.categories', 2)]), '');