progress indicators, bug fixes, after a while

This commit is contained in:
Kwesi Banson
2023-12-13 12:13:47 +00:00
parent ea6d83e5d9
commit bc97f69748
1283 changed files with 1010757 additions and 7379 deletions

View File

@@ -0,0 +1,43 @@
<div>
<div class="table-responsive">
<a class="btn btn-danger btn-xs pull-right" id="addPaymentBtn" ><i class="fa fa-plus-circle"></i> Add Payments</a>
<table class="table table-striped ">
<thead>
<tr class="headings">
<th class="column-title">Invoice Number</th>
<th class="column-title">Invoice Amount</th>
<th class="column-title">Invoice Date</th>
<th class="column-title">Services</th>
<th class="column-title">Remarks</th>
<th class="column-title">Status</th>
<th class="column-title no-link last"><span class="nobr">Action</span></th>
</tr>
</thead>
<tbody>
@if ($recent_payments->isEmpty())
<tr>
<td class="" colspan="12">No Records found</td>
</tr>
@else
@foreach ( $recent_payments as $row)
<tr class="even pointer">
<td class="mes-td col-md-1">{{ $row->invoice_number }}</td>
<td class="mes-td col-md-1">{{ $row->invoice_amount }}</td>
<td class="mes-td col-md-2">{{ date('d-m-Y', strtotime($row->invoice_date)) }}</td>
<td class="mes-td col-md-3">{{ $row->services }} </td>
<td class="mes-td col-md-3" style="width: 100px;">{{ $row->remarks }}</td>
<td class="mes-td col-md-1"><span class="label label-<?php echo ($row->invoice_status == 'PAID') ? 'success' : 'danger'; ?>"> {{ $row->invoice_status }}</span></td>
<td class="last col-md-1" style="width: 100px;">
<span>
<input type="hidden" name="payment_entry_id" value="{{ $row->id }}" class="paymentEntryRowId">
<a href="" class="btn btn-xs btn-primary paymentEntryEditBtn"><i class="fa fa-edit"></i></a>
</span>
</td>
</tr>
@endforeach
@endif
</tbody>
</table>
</div>
</div>