Initial commit
This commit is contained in:
57
resources/views/organisation/transactions.blade copy.php
Normal file
57
resources/views/organisation/transactions.blade copy.php
Normal file
@@ -0,0 +1,57 @@
|
||||
@extends('dealer_layouts.dealer_master')
|
||||
@section('page-title')
|
||||
Dealer | Transactions
|
||||
@endsection
|
||||
@section('page-content')
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="hpanel hblue">
|
||||
<div class="panel-heading hbuilt">Sales from {{ $org_user['name'] }} to Merchants</div>
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table cellpadding="1" cellspacing="1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr class="bg-info">
|
||||
<th>Recipient Merchant</th>
|
||||
<th>Amount</th>
|
||||
<th>Payment Method</th>
|
||||
<th>Status</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@forelse ($merchant_topups as $row)
|
||||
<tr>
|
||||
<td>{{ $row->merchantInfo->fullname }}</td>
|
||||
<td>{{ number_format($row->amount) }}</td>
|
||||
<td>{{ $row->payment_method }}</td>
|
||||
<td>{{ $row->status }}</td>
|
||||
<td>{{ $row->created_at }}</td>
|
||||
</tr>
|
||||
@empty
|
||||
<tr>
|
||||
<td colspan="">No Data</td>
|
||||
</tr>
|
||||
@endforelse
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{ $merchant_topups->links() }}
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
Page : {{ $merchant_topups->currentPage() }} of {{ $merchant_topups->lastPage() }} |
|
||||
Total Records : <span id="totalRecords">{{ $merchant_topups->total() }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
@section('page-js')
|
||||
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user