production

This commit is contained in:
Shohrat 2023-09-19 01:43:16 +05:00
parent 88e6915828
commit 85753154ac
2 changed files with 4 additions and 1 deletions

View File

@ -46,7 +46,9 @@ function onStart()
td { td {
text-align: center !important; text-align: center !important;
vertical-align: middle !important;
} }
</style> </style>
</head> </head>

View File

@ -24,6 +24,7 @@ function onStart(){
$this["currentDate"] = $currentDate; $this["currentDate"] = $currentDate;
$this["productions"] = Romanah\Gokbakja\Models\Production::whereDate('created_at', date($currentDateFormat))->with(['pivot_production'])->get(); $this["productions"] = Romanah\Gokbakja\Models\Production::whereDate('created_at', date($currentDateFormat))->with(['pivot_production'])->get();
} }
?> ?>
== ==
@ -156,7 +157,7 @@ function onStart(){
</td> </td>
{% for product in report.pivot_production %} {% for product in report.pivot_production %}
<td>{{product.amount_percentage}} %</td> <td>{{product.amount_percentage}} % {% if product.amount != 0 %}<br> <span style="font-size: 12px;color: darkgray;"> {{product.amount|number_format}} kg</span> {% endif %}</td>
{% endfor %} {% endfor %}
<td style="font-weight: bold;color: #0005c5;">{{report.note}}</td> <td style="font-weight: bold;color: #0005c5;">{{report.note}}</td>