From 9299bad7e26487c95bddc0b229261f7eeb83dcdd Mon Sep 17 00:00:00 2001 From: mac Date: Mon, 6 Jul 2026 18:27:05 +0300 Subject: [PATCH] change last step --- templates/footer.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/footer.php b/templates/footer.php index fffbade..561cf63 100644 --- a/templates/footer.php +++ b/templates/footer.php @@ -4218,8 +4218,11 @@ $user_id = $_SESSION['id']; if (!d) { console.log('[DEAL_CLOSE] dealCloseData is null/undefined'); return; } var html = ''; if (d.title) html += '
Название: ' + d.title + '
'; - if (d.contract_price) html += '
Сумма в договоре: ' + Number(d.contract_price).toLocaleString('ru-RU') + ' руб.
'; - if (d.total_commission) html += '
Комиссия: ' + Number(d.total_commission).toLocaleString('ru-RU') + ' руб.
'; + if (d.object_price) html += '
Цена объекта: ' + Number(d.object_price).toLocaleString('ru-RU') + ' руб.
'; + if (d.commission_buyer) html += '
Комиссия с покупателя/арендатора: ' + Number(d.commission_buyer).toLocaleString('ru-RU') + ' руб.
'; + if (d.commission_seller) html += '
Комиссия с продавца/арендодателя: ' + Number(d.commission_seller).toLocaleString('ru-RU') + ' руб.
'; + if (d.agent_commission) html += '
Комиссия агента: ' + Number(d.agent_commission).toLocaleString('ru-RU') + ' руб.
'; + if (d.counter_agent_commission) html += '
Комиссия встречному агенту: ' + Number(d.counter_agent_commission).toLocaleString('ru-RU') + ' руб.
'; $('#deal_close_content').html(html); // Собираем ID заявок и объектов @@ -4316,7 +4319,7 @@ $user_id = $_SESSION['id']; html += ''; html += '
'; - html += ''; + html += ''; html += ''; html += '
';