From: Alexander Smirnov Date: Wed, 26 Mar 2025 14:21:54 +0000 (+0300) Subject: [ERP-381] inputed cost 3 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=98b2afb74f968ace7d0de3987aefa6750830b2cc;p=erp24_rep%2Fyii-erp24%2F.git [ERP-381] inputed cost 3 --- 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) . "%