app/Http/Controllers/ClientsController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \PurchaseControl\Clients  $clients
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit($id)
    {
        $client =  Clients::where('id', $id)->first();
        return view('admin.clients.edit', [
            'client' => $client
        ]);
    }
public function edit ( $ id ) { $ client = Clients :: where ( 'id' , $ id ) -> first ( ) ; return view ( 'admin.clients.edit' , [ 'client' => $ client ] ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .