Files
InvoiceShelf/app/Http/Requests/SendEstimatesRequest.php
Abdulrazzaq Alhendi 65d1fdd3f0 feat(mail): add CC and BCC fields to email requests and forms (#466)
* feat(mail): add CC and BCC fields to email requests and forms

* chore: fmt
2026-02-06 01:59:38 +01:00

44 lines
836 B
PHP

<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class SendEstimatesRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
/**
* Get the validation rules that apply to the request.
*/
public function rules(): array
{
return [
'subject' => [
'required',
],
'body' => [
'required',
],
'from' => [
'required',
],
'to' => [
'required',
],
'cc' => [
'nullable',
],
'bcc' => [
'nullable',
],
];
}
}