app/Http/Controllers/PosController.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()
    {
        $data['p'] = P::all();
        return view('pos.create',$data);
    }
public function create ( ) { $ data [ 'p' ] = P :: all ( ) ; return view ( 'pos.create' , $ data ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .