Files
airtime-reseller/resources/views/merchants/transactions.blade copy.php
Kwesi Banson Jnr 2cfcfade4e Initial commit
2026-08-04 14:50:01 +00:00

57 lines
1.7 KiB
PHP

@extends('merch_layouts.merch_master')
@section('page-title')
Merchant | Transactions
@endsection
@section('page-content')
<div class="row">
<div class="col-md-12">
<div class="hpanel hblue">
<div class="panel-heading hbuilt">Sales from <strong><span class="text-success">{{ $merchant->fullname }}</span></strong> to Customers</div>
<div class="panel-body">
<div class="table-responsive">
<table cellpadding="1" cellspacing="1" class="table table-bordered table-striped">
<thead>
<tr>
<th>Recipient Phone</th>
<th>Amount</th>
<th>Status</th>
<th>Date</th>
</tr>
</thead>
<tbody>
@forelse ($transactions as $row)
<tr>
<td>{{ $row->msisdn }}</td>
<td>{{ number_format($row->amount) }}</td>
<td>{{ $row->status }}</td>
<td>{{ $row->created_at }}</td>
</tr>
@empty
<tr>
<td colspan="4">No Data</td>
</tr>
@endforelse
</tbody>
</table>
</div>
{{ $transactions->links() }}
</div>
<div class="panel-footer">
Page : {{ $transactions->currentPage() }} of {{ $transactions->lastPage() }} |
Total Records : <span id="totalRecords">{{ $transactions->total() }}</span>
</div>
</div>
</div>
</div>
@endsection
@section('page-js')
@endsection