<?php
 namespace App\Http\Requests\Admin; use Illuminate\Foundation\Http\FormRequest; class BillingGenerateDueInvoicesRequest extends FormRequest { public function authorize(): bool { return true; } public function rules(): array { return [ 'client_id' => ['required', 'exists:clients,id'], 'send_email' => ['boolean'], ]; } } 