Initial commit
This commit is contained in:
56
resources/views/merchants/transactions.blade copy.php
Normal file
56
resources/views/merchants/transactions.blade copy.php
Normal file
@@ -0,0 +1,56 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user