public function destroy($id) { if (Payment::VeryPayment() == false) { return View::make('clinic.payment.renews-payment'); } $CustomDay = CustomDay::find($id); $CustomDay->delete(); if ($CustomDay) { return Redirect::back()->withConfirm("Eliminado Exitosamente"); } else { return Redirect::back()->withErrors("Error"); } }
public function destroy($id) { $CustomDay = CustomDay::find($id); $CustomDay->delete(); if ($CustomDay) { return Redirect::back()->withConfirm("Eliminado Exitosamente"); } else { return Redirect::back()->withErrors("Error"); } }