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,19 +2,19 @@
<table class="table" id="datatable">
<thead>
<tr>
<th>{{ __('SL') }}.</th>
<th class="d-print-none">{{ __('SL') }}.</th>
<th>{{ __('Name') }}</th>
<th>{{ __('Email') }}</th>
<th>{{ __('Phone') }}</th>
<th>{{ __('Type') }}</th>
<th class="text-end">{{ __('Due Amount') }}</th>
<th>{{ __('Action') }}</th>
<th class="d-print-none">{{ __('Action') }}</th>
</tr>
</thead>
<tbody>
@foreach ($parties as $party)
<tr>
<td>{{ ($parties->currentPage() - 1) * $parties->perPage() + $loop->iteration }}</td>
<td class="d-print-none">{{ ($parties->currentPage() - 1) * $parties->perPage() + $loop->iteration }}</td>
<td>{{ $party->name }}</td>
<td>{{ $party->email }}</td>
<td>{{ $party->phone }}</td>
@@ -59,10 +59,14 @@ class="view-due-payment-btn" data-bs-toggle="modal"
{{ __('View Payment') }}
</a>
</li>
@if ($party->dueCollect)
@php
$due = $party->dueCollect()->latest()->first();
@endphp
@if ($due)
<li>
<a href="{{ route('business.collect.dues.invoice', $party->id) }}"
target="_blank">
<a href="{{ route('business.collect.dues.invoice', $due->id) }}" target="_blank">
<img src="{{ asset('assets/images/icons/Invoic.svg') }}" alt="">
{{ __('Invoice') }}
</a>
@@ -74,6 +78,20 @@ class="view-due-payment-btn" data-bs-toggle="modal"
</tr>
@endforeach
</tbody>
@if ($parties->count() > 0)
<tr class="table-footer">
<td class="text-start">{{ __('Total') }}</td>
<td class="d-print-none"></td>
<td></td>
<td></td>
<td></td>
<td class="text-end">
{{ currency_format($parties->sum('due'), currency: business_currency()) }}
</td>
<td class="text-end">
</td>
</tr>
@endif
</table>
</div>
<div class="mt-3">