Фикс: Не открывается отдел продажи.
This commit is contained in:
parent
760bbe31be
commit
8efc054436
4
shop.php
4
shop.php
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user