title = "Get Production" url = "/get-production/:id" layout = "platform_main" is_hidden = 0 == year; $productionId = $this->param("id"); $this["production"] = Romanah\Gokbakja\Models\Production::where('id', $productionId)->with('pivot_production')->first(); $productionD = $this["production"]->created_at->format('d'); $productionM = $this["production"]->created_at->format('m'); $productionY = $this["production"]->created_at->format('Y'); $this["productionM"] = $this["production"]->created_at->format('m'); $this["productions"] = Romanah\Gokbakja\Models\Production::whereDay('created_at', $productionD)->whereMonth('created_at', $productionM)->whereYear('created_at', $productionY)->with('pivot_production')->get(); } ?> == {% put styles %} {% endput %}

Çig Mallar Boýunça ({{production.created_at|date('d.m.Y | H:i')}})

Hasabat

{% for key, record in production.pivot_production %} {% endfor %} {% for key, report in productions %} {% for product in report.pivot_production %} {% endfor %} {% endfor %} {% for key, record in production.pivot_production %} {% endfor %}
Senesi Hemmesi{{record.product_name}}Bellik
{{key + 1}} {{report.created_at|date('d.m.Y | H:i')}} {{report.all_amount|number_format}} kg {{product.amount_percentage}} % {% if product.amount != 0 %}
{{product.amount|number_format}} kg {% endif %}
{{report.note}}
Senesi Hemmesi{{record.product_name}}Bellik
{% partial 'dataTableJs' %}