fixed client portal

This commit is contained in:
denisdulici
2017-10-21 15:29:54 +03:00
parent 5e7d3392ab
commit 9710f81053
9 changed files with 65 additions and 85 deletions

View File

@ -21,7 +21,7 @@ class Payments extends Controller
*/
public function index()
{
$payments = Payment::with('account', 'category')->where('customer_id', '=', Auth::user()->customer->id)->paginate();
$payments = Payment::with(['account', 'category'])->where('customer_id', '=', Auth::user()->customer->id)->paginate();
$payment_methods = Modules::getPaymentMethods();