update marketing
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 5m14s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s
Build, Push and Deploy / deploy-staging (push) Successful in 41s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-14 11:55:22 +07:00
parent f80fcc4c1b
commit 05fd3230b8
448 changed files with 17545 additions and 5128 deletions

View File

@@ -2,22 +2,22 @@
<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>
<th class="table-header-content">{{ __('Action') }}</th>
<th>{{ __('SL') }}.</th>
<th>{{ __('Invoice Number') }}</th>
<th>{{ __('Due Amount') }}</th>
<th class="d-print-none">{{ __('Action') }}</th>
</tr>
</thead>
<tbody>
@foreach ($walk_in_customers as $walk_in_customer)
<tr>
<td class="table-single-content">
<td>
{{ ($walk_in_customers->currentPage() - 1) * $walk_in_customers->perPage() + $loop->iteration }}
</td>
<td class="table-single-content">{{ $walk_in_customer->invoiceNumber }}</td>
<td class="text-danger table-single-content">
<td>{{ $walk_in_customer->invoiceNumber }}</td>
<td>
{{ currency_format($walk_in_customer->dueAmount, currency: business_currency()) }}</td>
<td class="print-d-none table-single-content">
<td class="d-print-none">
<div class="dropdown table-action">
<button type="button" data-bs-toggle="dropdown">
<i class="far fa-ellipsis-v"></i>
@@ -51,9 +51,14 @@ class="view-due-payment-btn" data-bs-toggle="modal"
{{ __('View Payment') }}
</a>
</li>
@if ($walk_in_customer->dueCollect)
@php
$due = $walk_in_customer->dueCollect()->latest()->first();
@endphp
@if ($due)
<li>
<a href="{{ route('business.collect.walk-dues.invoice', $walk_in_customer->id) }}"
<a href="{{ route('business.collect.walk-dues.invoice', $due->id) }}"
target="_blank">
<img src="{{ asset('assets/images/icons/Invoic.svg') }}" alt="">
{{ __('Invoice') }}
@@ -65,10 +70,19 @@ class="view-due-payment-btn" data-bs-toggle="modal"
</td>
</tr>
@endforeach
</tbody>
@if ($walk_in_customers->count() > 0)
<tr class="table-footer">
<td class="text-start">{{ __('Total') }}</td>
<td></td>
<td>
{{ currency_format($walk_in_customers->sum('dueAmount'), currency: business_currency()) }}
</td>
<td></td>
</tr>
@endif
</table>
</div>
<div class="mt-3">
<div class="mt-3 d-print-none">
{{ $walk_in_customers->links('vendor.pagination.bootstrap-5') }}
</div>