From 98b2afb74f968ace7d0de3987aefa6750830b2cc Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Wed, 26 Mar 2025 17:21:54 +0300 Subject: [PATCH] [ERP-381] inputed cost 3 --- erp24/views/bouquet/_product_list.php | 6 +++--- erp24/views/bouquet/index.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/erp24/views/bouquet/_product_list.php b/erp24/views/bouquet/_product_list.php index 3354d6dd..0a7d8c05 100644 --- a/erp24/views/bouquet/_product_list.php +++ b/erp24/views/bouquet/_product_list.php @@ -31,9 +31,9 @@
Нижегородская область
- Себестоимость: getSelfCost() ?>
- Наценка: +30% / +getSelfCost()) ?>
- Цена: getBouquetCost() ?>р. +getBouquetCostMarkup() ?>%
+ Себестоимость: getSelfCost()) ?>₽
+ Наценка: +30% / +getSelfCost()) ?>₽
+ Цена: getBouquetCost() ?>₽. +getBouquetCostMarkup(), 2) ?>%
diff --git a/erp24/views/bouquet/index.php b/erp24/views/bouquet/index.php index 72b7b224..133e6269 100644 --- a/erp24/views/bouquet/index.php +++ b/erp24/views/bouquet/index.php @@ -110,9 +110,9 @@ $this->title = 'Содержание матрицы'; {$compositionHtml}
- Себестоимость: " . $model->getSelfCost() . "
- Наценка: +30% / +" . (0.3 * $model->getSelfCost()) . "
- Цена: " . $model->getBouquetCost() . "р. +" . $model->getBouquetCostMarkup() . "%
+ Себестоимость: " . round($model->getSelfCost()) . "₽
+ Наценка: +30% / +" . round(0.3 * $model->getSelfCost()) . "₽
+ Цена: " . round($model->getBouquetCost()) . "₽. +" . round($model->getBouquetCostMarkup(), 2) . "%
-- 2.39.5