Compare commits

..

No commits in common. "f682b47bd0cdedabb79ff6ffaedbbf6671de2ded" and "7dc6882ebd16b00b6479e4b5a0211779f6f27328" have entirely different histories.

6 changed files with 2 additions and 7083 deletions

View File

@ -1086,23 +1086,8 @@ ORDER BY date_sort ASC";
</div>
</div>
<div class="chat-content" id="chat_content_<?=$event['id']?>">
<div class="head" style="display:flex;align-items:center;gap:8px;">
<div class="head">
<span>Сделка</span>
<?php
$deal_id_for_edit = null;
if (!empty($event['req_id'])) {
$sql_deal = "SELECT id FROM deals WHERE side_one_requisition_id = " . intval($event['req_id']) . " LIMIT 1";
$rez_deal = mysql_query($sql_deal);
if ($rez_deal && mysql_num_rows($rez_deal) > 0) {
$row_deal = mysql_fetch_assoc($rez_deal);
$deal_id_for_edit = $row_deal['id'];
}
}
if ($deal_id_for_edit) { ?>
<a href="javascript:{}" class="no-border" onclick="if(window.editDeal){window.editDeal(<?=intval($event['req_id'])?>, <?=$deal_id_for_edit?>)}" title="Редактировать сделку" style="color:#9e9e9e;font-size:14px;">
<i class="ti-pencil"></i>
</a>
<?php } ?>
<?php if ($event['partner_id']) : ?><sup style="padding-left:3px; font-weight:normal;color:#dea847;" data-partner-id="<?= $event['partner_id'] ?>">от партнёра</sup><?php endif; ?>
</div>
<div class="message">Запланирована сделка на <?=$d?> <?=getRusMonth($m)?> <?=$y?> в <?=date("H:i", strtotime($event['schedule_date']))?></div>

View File

@ -1,2 +1,2 @@
// Авто-сгенерировано: postbuild.js
import '/deal/assets/index-C02jcnWu.js';
import '/deal/assets/index-Bdwo4iO1.js';

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long