Фикс: Не открывается отдел продажи.

This commit is contained in:
lopar 2018-06-23 21:10:01 +03:00
parent 760bbe31be
commit 8efc054436

View File

@ -300,8 +300,8 @@ switch ($shopCategoryTypeNumber) {
while ($row = $data->fetch_assoc()) {
$row['count'] = 1;
$price = $row['cost'] * 1;
if ($data['koll']) {
$price *= $data['koll'];
if ($row['koll']) {
$price *= $row['koll'];
}
if ($row['type'] == 12) {
$allcost = round($price * (1 - $row['duration'] / $row['maxdur']), 2);