FIX_Bug review
This commit is contained in:
parent
baa0d4a068
commit
9106648333
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user