app/Http/Controllers/BarangKeluarController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
      $data['barang'] = BarangKeluar::where('status','keluar')->get();
      return view('inventory.barang-keluar.index',$data);
    }
public function index ( ) { $ data [ 'barang' ] = BarangKeluar :: where ( 'status' , 'keluar' ) -> get ( ) ; return view ( 'inventory.barang-keluar.index' , $ data ) ; }
Display a listing of the resource.
Display a listing of the resource .