Fix event

This commit is contained in:
mac 2026-07-01 13:34:27 +03:00
parent 959678abc9
commit 20d5a5ef25

View File

@ -1225,13 +1225,14 @@ ORDER BY date_sort ASC";
echo '</div>'; echo '</div>';
} }
echo '</div>'; echo '</div>';
if ($deal_data['status'] == 1) {
echo '<div class="message" style="margin-top:8px;font-size:13px;color:#388e3c;font-weight:500;">✓ Сделка закрыта успешно</div>';
} else if ($deal_data['status'] == 2) {
echo '<div class="message" style="margin-top:8px;font-size:13px;color:#e57373;font-weight:500;">✗ Сделка отменена</div>';
}
} }
if ($deal_data['status'] == 1) {
echo '<div class="message" style="margin-top:8px;font-size:13px;color:#388e3c;font-weight:500;">✓ Сделка закрыта успешно</div>';
} else if ($deal_data['status'] == 2) {
echo '<div class="message" style="margin-top:8px;font-size:13px;color:#e57373;font-weight:500;">✗ Сделка отменена</div>';
}
?>
?> ?>
<?php if (!$event['cancel']) { ?> <?php if (!$event['cancel']) { ?>
<div style="position:absolute;top:8px;right:8px;" class="d-flex gap-1"> <div style="position:absolute;top:8px;right:8px;" class="d-flex gap-1">