This commit is contained in:
Suvodip
2025-03-25 20:33:59 +05:30
parent d9b4921a12
commit 321e617580
6 changed files with 176 additions and 31 deletions

View File

@@ -72,8 +72,6 @@
}
try {
$stmt = $db->prepare("SELECT * FROM invoice WHERE customerId = :customerId AND invoiceId = :invoiceId");
$stmt->bindParam(':invoiceId', $_GET['invoiceId']);
@@ -159,13 +157,14 @@
$frequency = $frequency !== null ? $frequency : 0;
?>
<div class="container mt-4">
<h3 class="mb-3">EMI Details</h3>
<h3 class="mb-3">Installment Details</h3>
<div class="d-flex justify-content-between">
<div>
<p>Customer Name: <strong><?php echo $customer['name']; ?></strong></p>
<p>Mobile Number: <strong><?php echo $customer['mobile']; ?></strong></p>
<p>Booking Date: <strong><?php echo $bookingDate ? htmlspecialchars($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>
<div>
<p>Total Amount: <strong>$<?php echo $totalAmount; ?></strong></p>