This commit is contained in:
Suvodip
2025-03-27 11:51:04 +05:30
parent 492e4d2bb6
commit 43f6f2ce21
7 changed files with 53 additions and 32 deletions

View File

@@ -169,7 +169,7 @@
<div>
<p>Customer Name: <strong><?php echo $customer['name']; ?></strong></p>
<p>Mobile Number: <strong><?php echo $customer['mobile']; ?></strong></p>
<p>Installment Start Date: <strong><?php echo $bookingDate ? htmlspecialchars($bookingDate) : 'N/A'; ?></strong></p>
<p>Installment Start Date: <strong><?php echo $bookingDate ? date("m/d/Y", strtotime($bookingDate)) : 'N/A'; ?></strong></p>
<p>Invoice Id: <strong><?php echo $emiPlans[0]['invoiceId']; ?></strong></p>
<p>Email: <strong><?php echo $customer['email']; ?></strong></p>
</div>
@@ -200,10 +200,10 @@
<tr id="row-<?= $emi['id']; ?>">
<td><?= $emi['emiNumber']; ?></td>
<td>$<?= number_format($emi['emiAmount'], 2); ?></td>
<td><?= date('d-m-Y', strtotime($emi['emiDate'])); ?></td>
<td><?= date("m/d/Y", strtotime($emi['emiDate'])); ?></td>
<td>
<?php if (!empty($emi['paymentDate'])) { ?>
<?= date('d-m-Y', strtotime($emi['paymentDate'])); ?>
<?= date("m/d/Y", strtotime($emi['paymentDate'])); ?>
<?php } else { ?>
<input value="<?= date('Y-m-d', strtotime($emi['emiDate'])); ?>" id="paymentDateId" class="form-control" type="date" />
<?php } ?>
@@ -237,7 +237,7 @@
<?php foreach ($emiPlans as $emi) { if($emi['adPaymentAmount'] !== null) { ?>
<tr id="row-<?= $emi['id']; ?>">
<td>$<?= $emi['adPaymentAmount']; ?></td>
<td><?= $emi['adPaymentDate']; ?></td>
<td><?= date("m/d/Y", strtotime($emi['adPaymentDate'])); ?></td>
<td><?= $emi['adPaymentTran']; ?></td>
<td><?= $emi['adPaymentRemarks']; ?></td>
</tr>