<?php
namespace App\Http\Requests\Admin;use Illuminate\Foundation\Http\FormRequest;
class SettlementRequest extends FormRequest {public function authorize():bool{return $this->user()?->can('settlement.mark')??false;}public function rules():array{return ['reference'=>['required','string','max:120'],'settled_on'=>['required','date'],'note'=>['nullable','string','max:500']];}}
