Initial commit

This commit is contained in:
Kwesi Banson Jnr
2026-08-04 14:50:01 +00:00
commit 2cfcfade4e
1605 changed files with 499334 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
@extends('layouts.admin_master')
@section('page-title')
Admin | Dashboard
@endsection
@section('page-content')
<div class="row">
<div class="col-md-12">
<div class="hpanel">
<div class="panel-heading">Sales from Dealers to Merchants</div>
<div class="panel-body">
<div class="table-responsive">
<table cellpadding="1" cellspacing="1" class="table table-bordered table-striped">
<thead>
<tr>
<th>Dealer Name</th>
<th>Merchant (Recipient) </th>
<th>Amount</th>
<th>Status</th>
<th>Date</th>
</tr>
</thead>
<tbody>
@forelse ($dealer_sales as $row)
<tr>
<td>{{ $row->orgInfo->name }}</td>
<td>{{ $row->merchantInfo->fullname }}</td>
<td>{{ number_format($row->amount) }}</td>
<td>{{ $row->status }}</td>
<td>{{ $row->created_at }}</td>
</tr>
@empty
<tr>
<td colspan="">No Data</td>
</tr>
@endforelse
</tbody>
</table>
</div>
{{ $dealer_sales->links() }}
</div>
<div class="panel-footer">
Page : {{ $dealer_sales->currentPage() }} of {{ $dealer_sales->lastPage() }} |
Total Records : <span id="totalRecords">{{ $dealer_sales->total() }}</span>
</div>
</div>
</div>
</div>
@endsection
@section('page-js')
@endsection