Фикс: Не открывается отдел продажи.
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()) {
|
while ($row = $data->fetch_assoc()) {
|
||||||
$row['count'] = 1;
|
$row['count'] = 1;
|
||||||
$price = $row['cost'] * 1;
|
$price = $row['cost'] * 1;
|
||||||
if ($data['koll']) {
|
if ($row['koll']) {
|
||||||
$price *= $data['koll'];
|
$price *= $row['koll'];
|
||||||
}
|
}
|
||||||
if ($row['type'] == 12) {
|
if ($row['type'] == 12) {
|
||||||
$allcost = round($price * (1 - $row['duration'] / $row['maxdur']), 2);
|
$allcost = round($price * (1 - $row['duration'] / $row['maxdur']), 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user