[viewBag] == no; $year = $this->year; $this["all_amount"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('created_at', $no) ->whereYear('created_at', $year) ->sum('amount'); $this["all_bag_qty"] = Romanah\Gokbakja\Models\SewerProduction::whereMonth('created_at', $no) ->whereYear('created_at', $year) ->sum('produced_bag_qty'); } ?> == {{no}} {{title}} {{all_amount|number_format}} kg {{all_bag_qty|number_format}} sany