Files
admin-erahn/resources/views/online/trail/partials/grouped-by-norujukan/table-transaksi-keuntungan.blade.php
T
Afiq Hamzah 9943ec892e Update codebase :
- Add basic blade components based on already existing element on app
- Add module to view online transaction trail, serve as debugger
- Add module to review arrahn transaction vs billplz transaction, serve as debugger
- Fix tetapan/payable-ujrah-branches error on api response
- Add arrahn pay portal api url link in config. The billplz data is query from there
2024-07-16 12:08:04 +08:00

53 lines
2.6 KiB
PHP

<div>
<x-table.horizontal-scroller scrollDirection="right" tabContent="transaksi-keuntungan" />
@forelse ($transactionTrail['transaksiKeuntungan'] as $norujukan => $transaction)
<span>
<h1 class="p-3 pb-4 font-bold">{{ $norujukan }}</h1>
</span>
<x-table>
<x-slot name="header">
<x-table.header content="id" />
<x-table.header content="norujukan" />
<x-table.header content="bayaran_keuntungan" />
<x-table.header content="bayaran_pembiayaan" />
<x-table.header content="keuntungan_rebet" />
<x-table.header content="tarikh_bayaran" />
<x-table.header content="kodcaw" />
<x-table.header content="ujrah" />
<x-table.header content="ujrah_rebet" />
<x-table.header content="onepercent" />
<x-table.header content="onepercent_rebet" />
<x-table.header content="tempoh" />
<x-table.header content="beza_tempoh" />
<x-table.header content="margin_semasa" />
</x-slot>
<x-slot name="body">
@foreach ($transaction as $data)
<tr>
<x-table.data :content="$data['id']" />
<x-table.data :content="$data['norujukan']" />
<x-table.data :content="$data['bayaran_keuntungan']" />
<x-table.data :content="$data['bayaran_pembiayaan']" />
<x-table.data :content="$data['keuntungan_rebet']" />
<x-table.data :content="$data['tarikh_bayaran']" />
<x-table.data :content="$data['kodcaw']" />
<x-table.data :content="$data['ujrah']" />
<x-table.data :content="$data['ujrah_rebet']" />
<x-table.data :content="$data['onepercent']" />
<x-table.data :content="$data['onepercent_rebet']" />
<x-table.data :content="$data['tempoh']" />
<x-table.data :content="$data['beza_tempoh']" />
<x-table.data :content="$data['margin_semasa']" />
</tr>
@endforeach
</x-slot>
</x-table>
<x-table.horizontal-scroller scrollDirection="left" tabContent="transaksi-keuntungan" />
@empty
<div class="bg-white text-center py-6">
No data available for the date selected
</div>
@endforelse
</div>