app/Http/Controllers/OrdenController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $mesas = Mesa::pluck('codigo_mesa','id')->toArray();
        return view('administracion.orden.create',compact('mesas'));
    }
public function create ( ) { $ mesas = Mesa :: pluck ( 'codigo_mesa' , 'id' ) -> toArray ( ) ; return view ( 'administracion.orden.create' , compact ( 'mesas' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .