This commit is contained in:
Suvodip
2025-03-08 17:01:20 +05:30
parent e97d30ce72
commit b813a79fe8
7 changed files with 229 additions and 126 deletions

View File

@@ -4,7 +4,7 @@
<div class="container-xxl mt-4">
<h3 class="mb-3 ">Customer List</h3><hr>
<div class="table-responsive">
<table class="table table-bordered table-striped table-hover w-100" style="font-size: 12px;">
<table class="table table-bordered table-striped table-hover w-100" style="font-size: 13px;">
<thead class="bg-primary text-white text-center" >
<tr>
<th>Sl No</th>
@@ -15,7 +15,7 @@
<th>Monthly Payment Date</th>
<th>Monthly Payment Amount</th>
<th>Total Amount</th>
<th>Action</th>
<th>Invoice</th>
</tr>
</thead>
<tbody>
@@ -84,9 +84,9 @@
<td>$<?php echo isset($emi['totalAmount']) ? htmlspecialchars($emi['totalAmount']) : '0.00'; ?></td>
<td class="d-flex gap-1">
<a href="/customers/generate-invoice/?customerId=<?php echo $customer['customerId']; ?>" class="btn btn-primary btn-sm" style="font-size: 13px;">New Invoice</a>
<a href="/customers/edit-invoice/?customerId=<?php echo $customer['customerId'].'&invoiceId='.$invoice['invoiceId']; ?>" class="btn btn-primary btn-sm" style="font-size: 13px;">Edit Invoice</a>
<a href="/customers/additional-payment/?customerId=<?php echo $customer['customerId'].'&invoiceId='.$invoice['invoiceId']; ?>" class="btn btn-primary btn-sm" style="font-size: 13px;">Payment</a>
<a href="/customers/generate-invoice/?customerId=<?php echo $customer['customerId']; ?>" class="btn btn-primary btn-sm" style="font-size: 13px;">New</a>
<a href="/customers/edit-invoice/?customerId=<?php echo $customer['customerId'].'&invoiceId='.$invoice['invoiceId']; ?>" class="btn btn-primary btn-sm" style="font-size: 13px;">Edit</a>
<a href="/customers/print-invoice/?customerId=<?php echo $customer['customerId'].'&invoiceId='.$invoice['invoiceId']; ?>" class="btn btn-primary btn-sm" style="font-size: 13px;">Print</a>
</td>
</tr>
<?php
@@ -99,7 +99,7 @@
<td><?php echo htmlspecialchars($customer['name']); ?></td>
<td colspan="6" class="text-center">No EMI or Invoice Data</td>
<td>
<a href="/customers/generate-invoice/?customerId=<?php echo $customer['customerId']; ?>" class="btn btn-primary btn-sm">Create Invoice</a>
<a href="/customers/generate-invoice/?customerId=<?php echo $customer['customerId']; ?>" class="btn btn-primary btn-sm">New</a>
</td>
</tr>
<?php