]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Вычисление средней цены
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 9 Apr 2025 07:07:05 +0000 (10:07 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 9 Apr 2025 07:07:05 +0000 (10:07 +0300)
erp24/views/category-plan/show-history-data.php

index 76c07f362d44ee057718c587e40d331be5ff7cfc..8b6db46c809ca88f42dee0783b67f0b75db2e06a 100644 (file)
@@ -151,7 +151,8 @@ JS;
                                 <div>
                                     <strong>Месяц <?= Html::encode($monthKey) ?>:</strong>
                                     продажи = <?= $sales ?>,
-                                    взвеш. = <?= $salesData['monthlyWeighted'][$monthKey] ?>
+                                    взвеш. = <?= $salesData['monthlyWeighted'][$monthKey] ?>,
+                                    Цена. = <?= $salesData['monthlyPrice'][$monthKey] ?>
                                 </div>
                             <?php endforeach; ?>
                         <?php endif; ?>