app/Http/Controllers/StockReportController.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()
    {
        $productBalance = Product::all();
        return view('admin.stockReport.reportStockBalance',compact('productBalance'));
    }
public function index ( ) { $ productBalance = Product :: all ( ) ; return view ( 'admin.stockReport.reportStockBalance' , compact ( 'productBalance' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .