from server

This commit is contained in:
Shohrat 2023-12-21 02:11:28 +05:00
parent 76670cb664
commit 1a4277050a
3 changed files with 7 additions and 7 deletions

View File

@ -57,9 +57,9 @@ return [
'engine' => 'InnoDB', 'engine' => 'InnoDB',
'host' => 'localhost', 'host' => 'localhost',
'port' => 3306, 'port' => 3306,
'database' => 'gok_bakja_from_server', 'database' => 'gok_bakja',
'username' => 'root', 'username' => 'root',
'password' => 'bt110226', 'password' => '',
'charset' => 'utf8mb4', 'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci', 'collation' => 'utf8mb4_unicode_ci',
'prefix' => '', 'prefix' => '',

View File

@ -177,7 +177,7 @@ function onStart(){
{% set allInKg = (sumOfBags * gramInkg) %} {% set allInKg = (sumOfBags * gramInkg) %}
{% set percentDefective = ((report.product.defective_bag_qty * 100) / report.amount) %} {% set percentDefective = ((report.product.defective_bag_qty * 100) / sumOfBags) %}
{% set allCalc = (allCalc + report.amount) %} {% set allCalc = (allCalc + report.amount) %}
@ -202,7 +202,7 @@ function onStart(){
<td>{{report.product.rulon_action.product.color.name}}</td> <td>{{report.product.rulon_action.product.color.name}}</td>
<td>{{report.product.rulon_action.product.width}}</td> <td>{{report.product.rulon_action.product.width}}</td>
<td>{{report.product.rulon_action.product.gram}}</td> <td>{{report.product.rulon_action.product.gram}}</td>
<td>{{report.product.rulon_action.product.produced_weight}}</td> <td>{{report.product.rulon_action.product.brutto_kg}}</td>
<td>{{gramInkg}}</td> <td>{{gramInkg}}</td>
<td>{{report.product.width}}</td> <td>{{report.product.width}}</td>

View File

@ -115,7 +115,7 @@ function onStart(){
{{machineProduction.product.bag_type.name}}, {{machineProduction.product.bag_type.name}},
{{machineProduction.product.color.name}} {{machineProduction.product.color.name}}
--({{machineProduction.quantity}} kg) --({{machineProduction.product.brutto_kg}} kg)
</option> </option>
{% endif %} {% endif %}
{% endfor %} {% endfor %}