title = "sewer/month" url = "/sewer/month/:year" layout = "platform_main" is_hidden = 0 == timezone('UTC +05:00'); $this["year"] = $this->param("year"); if(!$this["year"]){ $this["year"] = $currentDate->year; } if($this["year"] == "default"){ $this["year"] = $currentDate->year; } $sewerIds = Romanah\Gokbakja\Models\SewerProduction::whereYear('date', $this["year"])->get()->pluck("id")->toArray(); $this["all_amount_total"] = Romanah\Gokbakja\Models\PivotSewer::whereIn("sewer_production_id", $sewerIds)->sum("spent_amount"); $this["all_bag_qty_total"] = Romanah\Gokbakja\Models\SewerProduction::whereYear('date', $this["year"]) ->sum('produced_bag_qty'); } ?> == {% put styles %} {% endput %}
Hasabat
| № | Aýlar | Sarp Edilen Çig Mal | Öndürlen Halta Sany |
|---|---|---|---|
| № | Aýlar | Sarp Edilen Çig Mal | Öndürlen Halta Sany |