This commit is contained in:
Suvodip
2025-03-19 17:46:05 +05:30
parent 6e69bf9f35
commit 8bcf5c055d
13 changed files with 58 additions and 43 deletions

View File

@@ -22,7 +22,7 @@ if ($invoiceInfo['tenure'] > 1) {
<div class="container my-5">
<div class="invoice-box">
<h2 class="text-center text-blue">Invoice</h2><hr>
<h2 class="text-center fw-bold" style="color: #374151;">Invoice</h2><hr>
<div class="d-flex justify-content-between">
<div class="w-100">
<h6>Invoice ID: <?= $invoiceInfo['invoiceId'] ?></h6>
@@ -64,12 +64,13 @@ if ($invoiceInfo['tenure'] > 1) {
https://center.rgyci.org/printresult_admin.php?sid=&reg=WB180Y2021R11308&sem=1 -->
<!-- EMI Table (if tenure > 1) -->
<?php if ($invoiceInfo['tenure'] > 1): ?>
<h4 class="mt-4 text-blue">EMI Payment Plan</h4>
<h4 class="mt-4" style="color: #374151;">EMI Payment Plan</h4>
<table class="table table-striped">
<thead>
<tr>
<th>EMI No.</th>
<th>EMI Date</th>
<th>Payment Date</th>
<th>EMI Amount</th>
<th>Outstanding</th>
<th>Status</th>
@@ -80,6 +81,7 @@ if ($invoiceInfo['tenure'] > 1) {
<tr>
<td><?= $emi['emiNumber'] ?></td>
<td><?= $emi['emiDate'] ?></td>
<td><?= $emi['payStatus'] == 1 ? $emi['paymentDate'] : 'Unpaid' ?></td>
<td>$<?= number_format($emi['emiAmount'], 2) ?></td>
<td>$<?= number_format($emi['outstanding'], 2) ?></td>
<td>
@@ -94,7 +96,7 @@ if ($invoiceInfo['tenure'] > 1) {
<p class="text-muted mt-3"><strong>Admin Note:</strong> <?= $invoiceInfo['adminNote'] ?></p>
<!-- Print Button -->
<button onclick="window.print()" class="btn btn-primary btn-print w-100">Print Invoice</button>
<button onclick="window.print()" class="btn text-white btn-print w-100" style="background-color: #374151;">Print Invoice</button>
</div>
</div>