public function updatePayment(Request $request, $id) { $this->invoices->updatePayment($id, $request); return redirect()->back(); }