s11
This commit is contained in:
@@ -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>
|
||||
@@ -37,7 +37,7 @@ if ($invoiceInfo['tenure'] > 1) {
|
||||
</div>
|
||||
|
||||
<table class="table table-bordered mt-3">
|
||||
<thead class="table-dark">
|
||||
<thead class="text-white" style="background-color: #374151;">
|
||||
<tr>
|
||||
<th>Item</th>
|
||||
<th>Description</th>
|
||||
@@ -63,12 +63,13 @@ if ($invoiceInfo['tenure'] > 1) {
|
||||
|
||||
<!-- EMI Table (if tenure > 1) -->
|
||||
<?php if ($invoiceInfo['tenure'] > 1): ?>
|
||||
<h5 class="mt-4 text-blue">EMI Payment Plan</h5>
|
||||
<h5 class="mt-4" style="color: #374151;">EMI Payment Plan</h5>
|
||||
<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>
|
||||
@@ -79,6 +80,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>
|
||||
@@ -89,7 +91,7 @@ if ($invoiceInfo['tenure'] > 1) {
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
<h5 class="mt-4 text-blue">Additional Payment Details:</h5>
|
||||
<h5 class="mt-4" style="color: #374151;">Additional Payment Details:</h5>
|
||||
<table class="table table-striped " style="font-size: 12px;">
|
||||
<thead class="">
|
||||
<tr>
|
||||
@@ -122,7 +124,7 @@ if ($invoiceInfo['tenure'] > 1) {
|
||||
|
||||
<p class="text-muted mt-3"><strong>Admin Note:</strong> <?= $invoiceInfo['adminNote'] ?></p>
|
||||
<p style="font-size: 12px;"><strong>Invoice Generate Date: </strong><span id="invoiceGenDate"></span></p>
|
||||
<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>
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user