app/Http/Controllers/UslugiController.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($id_kasa)
    {
        $nazwakasy = \App\Kasa::find($id_kasa);
        $firma = $nazwakasy->firma;
        return view('uslugi.dodaj',['kasa'=>$id_kasa,'nazwa'=>$nazwakasy, 'firma'=>$firma]);
    }
public function create ( $ id_kasa ) { $ nazwakasy = \ App \ Kasa :: find ( $ id_kasa ) ; $ firma = $ nazwakasy -> firma ; return view ( 'uslugi.dodaj' , [ 'kasa' => $ id_kasa , 'nazwa' => $ nazwakasy , 'firma' => $ firma ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .