Files
kulakpos_web/Modules/Business/resources/views/dues/excel-csv.blade.php
eko54r 05fd3230b8
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
update marketing
2026-05-14 11:55:22 +07:00

43 lines
1.3 KiB
PHP

<table class="table" id="datatable">
<thead>
<tr>
<th>{{ __('SL') }}.</th>
<th>{{ __('Name') }}</th>
<th>{{ __('Email') }}</th>
<th>{{ __('Phone') }}</th>
<th>{{ __('Type') }}</th>
<th>{{ __('Due Amount') }}</th>
</tr>
</thead>
<tbody>
@foreach ($parties as $party)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $party->name }}</td>
<td>{{ $party->email }}</td>
<td>{{ $party->phone }}</td>
@if ($party->type == 'Retailer')
<td>{{ __('Customer') }}</td>
@else
<td>{{ $party->type }}</td>
@endif
<td class="text-danger text-end">
{{ currency_format($party->due, currency: business_currency()) }}
</td>
</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>
</tr>
@endif
</table>