@extends('admin.admin_master')
@section('main')
<div class="container-fluid">
    <div class="card shadow mb-4">
        <div class="card-header py-3 d-flex justify-content-between align-items-center">
            <h6 class="m-0 font-weight-bold text-danger">Rejected Transactions</h6>
            <div>
                <a href="{{ route('admin.transactions.all') }}" class="btn btn-primary btn-sm">All</a>
                <a href="{{ route('admin.transactions.pending') }}" class="btn btn-warning btn-sm">Pending</a>
                <a href="{{ route('admin.transactions.approved') }}" class="btn btn-success btn-sm">Approved</a>
            </div>
        </div>
        <div class="card-body">
            @include('admin.transactions._table', ['transactions' => $transactions])
        </div>
    </div>
</div>
@endsection