title = "sewer/new" url = "/sewer/new" layout = "platform_main" is_hidden = 0 [sewer] == where("is_sewer", 1)->get(); //dd($pivotSewersWorking); $stock = Romanah\Gokbakja\Models\Stock::where("type", 'rulon')->first(); $stockId = $stock->id; $this["rulonsInStock"] = Romanah\Gokbakja\Models\RulonAction::select('romanah_gokbakja_rulon_action.*') ->with(['product' => function($q){ $q->with(['bag_type', 'bag_size', 'color']); }]) ->where("stock_id", $stockId) ->addSelect(DB::raw("SUM(amount) as quantity")) ->groupBy('romanah_gokbakja_rulon_action.product_id') ->orderBy('id', 'DESC') ->get(); } ?> == {% put styles %} {% endput %}
Hasabat
| № | Önümçilik No | Halta Görnüş | Rulon Görnüş | Tikinçi | Senesi | Gram | Çig mal mukdary | Tikilen Halta | BRAK Halta | Ulanylan | Galyndy | Status | Bellik | Sazlamalar |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| № | Önümçilik No | Halta Görnüş | Rulon Görnüş | Tikinçi | Senesi | Gram | Çig mal mukdary | Tikilen Halta | BRAK Halta | Ulanylan | Galyndy | Status | Bellik | Sazlamalar |