@extends('layouts.school-portal')

@section('title', 'Payment Requests')

@section('content')
<div class="container-fluid">
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-header d-flex justify-content-between align-items-center">
                    <h4 class="card-title mb-0">Payment Requests</h4>
                    <a href="{{ route('payments.create') }}" class="btn btn-primary">
                        <i class="fas fa-plus me-2"></i>Create Payment Request
                    </a>
                </div>
                <div class="card-body">
                    <livewire:payment-requests-table />
                </div>
            </div>
        </div>
    </div>
</div>
@endsection