public function NuevoPaciente($slug, $date, $rfc)
 {
     $tipos = Tipo::all()->lists('tipo', 'id')->toArray();
     asort($tipos);
     return view('citas::pacientes.form_nuevo')->with('tipos', $tipos)->with('slug', $slug)->with('date', $date)->with('rfc', $rfc);
 }
Exemplo n.º 2
0
 public function edit($id)
 {
     $paciente = Paciente::find($id);
     $tipos = Tipo::all()->lists('tipo', 'id')->toArray();
     return view('citas::pacientes.createorupdate')->with('paciente', $paciente)->with('tipos', $tipos);
 }