22 lines
404 B
PHP
22 lines
404 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Api\Client;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class InvoiceLookupRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'invoice_number' => 'required|string|max:50',
|
|
'lookup_code' => 'required|string|max:16',
|
|
];
|
|
}
|
|
}
|