public function destroy($id) { PaymentDefaultReminder::findOrFail($id)->delete(); return redirect()->to('/payment/settings'); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $reminders = PaymentDefaultReminder::all(); return view('booking::payment.settings', compact('reminders')); }