@extends('layouts.school-portal')

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

@section('content')
    <div class="container-fluid">
        <div class="row mb-4">
            <div class="col-12">
                <!-- Create Button Row -->
                <div class="mb-3 text-end">
                    <a href="{{ route('payment-requests.create') }}" class="btn btn-primary">
                        <i class="fas fa-plus me-2"></i>Create Payment Request
                    </a>
                </div>
                
                <div class="card">
                    <div class="card-header">
                        <h4 class="card-title mb-0">Payment Requests</h4>
                    </div>
                    <div class="card-body">
                        <livewire:payment-requests-table/>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
