CHANGE_UI_FIX - VADIVEL J 2025-08-23
This commit is contained in:
parent
3a2f490767
commit
c01c272411
@ -51,7 +51,7 @@
|
||||
}
|
||||
.recard-scroll{
|
||||
overflow-y:auto;
|
||||
height:295px;
|
||||
height:350px;
|
||||
}
|
||||
|
||||
.maincard{
|
||||
@ -62,6 +62,7 @@
|
||||
.conversation-card,
|
||||
.conversation-card .card-header,
|
||||
.conversation-card .card-body {
|
||||
|
||||
background: #F5FFFF !important;
|
||||
}
|
||||
|
||||
@ -78,6 +79,13 @@
|
||||
overflow-y:auto;
|
||||
box-shadow: 0 2px 4px 0 #00000040;
|
||||
}
|
||||
|
||||
hr{
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
@ -192,33 +200,36 @@
|
||||
|
||||
<!-- Conversation Card -->
|
||||
<div class="card mb-3 conversation-card">
|
||||
<div class="card-header border-0">
|
||||
<h5 class="mb-0" style="font-size:15px;">Conversation</h5>
|
||||
<hr/>
|
||||
<div class="card-header border-0 p-2 ">
|
||||
<h5 class="mb-2" style="font-size:15px;">Conversation</h5>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="card-body pt-0 recard-scroll">
|
||||
<div class="card-body pt-0 recard-scroll" style="padding-left: 15px !important;">
|
||||
<?php if(!empty($notes)): ?>
|
||||
<?php foreach($notes as $i => $conv): ?>
|
||||
|
||||
<!-- Top Row: Message + Badge -->
|
||||
<div class="d-flex justify-content-between align-items-start">
|
||||
<p class="mb-1 mr-4"><?= $conv['notes'] ?></p>
|
||||
<!-- <?php if(!empty($conv['notes_by'])): ?>
|
||||
<span class="badge bg-warning text-dark"><?= $conv['notes_by'] ?></span>
|
||||
<?php endif; ?> -->
|
||||
<?php if (!empty($conv['notes_type']) && $conv['notes_type'] === "Internal"): ?>
|
||||
<span class="badge bg-warning text-dark"><?= $conv['notes_type'] ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between align-items-start mb-2">
|
||||
<div class="flex-grow-1 text-break">
|
||||
<span class="mb-1 mr-4"><?= $conv['notes'] ?></span>
|
||||
</div>
|
||||
|
||||
<?php if (!empty($conv['notes_type']) && $conv['notes_type'] === "Internal"): ?>
|
||||
<div>
|
||||
<span class="badge" style="background-color:#E26828 ;color: white!important;"><?= $conv['notes_type'] ?></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Bottom Row: Name + Date -->
|
||||
<div class="d-flex justify-content-between small text-muted">
|
||||
<div class="d-flex justify-content-between small text-muted mb-1">
|
||||
<span><i class="mdi mdi-account"></i> <?= $conv['name'] ?></span>
|
||||
<span><?= date("j F Y h:i a", strtotime($conv['created_at'])) ?></span>
|
||||
</div>
|
||||
|
||||
<?php echo $i < count($notes)-1 ? '<hr/>' : ''; ?>
|
||||
<?php echo $i < count($notes)-1 ? '<hr>' : ''; ?>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php else: ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user