update marketing
All checks were successful
All checks were successful
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<table class="table" id="datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="table-header-content">{{ __('SL') }}.</th>
|
||||
<th class="table-header-content">{{ __('Invoice Number') }}</th>
|
||||
<th class="table-header-content">{{ __('Due Amount') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($walk_in_customers as $walk_in_customer)
|
||||
<tr>
|
||||
<td class="table-single-content">
|
||||
{{ $loop->iteration }}
|
||||
</td>
|
||||
<td class="table-single-content">{{ $walk_in_customer->invoiceNumber }}</td>
|
||||
<td class="text-danger table-single-content">
|
||||
{{ currency_format($walk_in_customer->dueAmount, currency: business_currency()) }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
@if ($walk_in_customers->count() > 0)
|
||||
<tr class="table-footer">
|
||||
<td class="text-start">{{ __('Total') }}</td>
|
||||
<td></td>
|
||||
<td class="text-end">
|
||||
{{ currency_format($walk_in_customers->sum('dueAmount'), currency: business_currency()) }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</table>
|
||||
Reference in New Issue
Block a user