FIX_Bug review

This commit is contained in:
VE10-Sanjeev 2024-09-20 13:03:42 +00:00
parent baa0d4a068
commit 9106648333
2 changed files with 9 additions and 5 deletions

View File

@ -147,6 +147,7 @@
</thead>
<tbody>
<?php $tempinx = 0;
// print_r($expiring_membership);
if(!empty($expiring_membership)):
foreach ($expiring_membership as $e) :
$daysincount = (int)$e['countdays'];
@ -162,8 +163,11 @@
<td><span class="badge badge-success badge-pill"><?= $daysincountstring; ?></span> <span class="font-13"><br><?= $e['to_subscription_date_format']; ?></span></td>
<td>
<?php
$startDateTime = isset($e['notifications'][0]['start_date_time']) ? $e['notifications'][0]['start_date_time'] : '';
echo $startDateTime ? date('d-m-Y', strtotime($startDateTime)) : '';
$notifications = $e['notifications'];
$lastNotification = end($notifications);
$lastStartDateTime = $lastNotification['start_date_time'];
$startDateTime = isset($lastStartDateTime) ? $lastStartDateTime : '';
echo $startDateTime ? date('d/m/Y', strtotime($startDateTime)) : '';
?>
</td>
</tr>

View File

@ -176,12 +176,12 @@
<div class="col-md-6">
<div class="form-group">
<label class="form-check-label">Select Action:</label>
<div class="form-check">
<input class="form-check-input" type="radio" name="action" value="1" checked>
<div style="display:none" class="form-check">
<input class="form-check-input" type="radio" name="action" value="1">
<label class="form-check-label">1</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="action" value="2">
<input class="form-check-input" type="radio" name="action" value="2" checked>
<label class="form-check-label">2 x 4(A4)</label>
</div>
</div>