Files
portal-api/app/Http/Requests/Api/Admin/Domain/UpdateRegistrantInfoRequest.php
baodev0 c377c7e195 feat: add domain registration form and email notifications
- Create a new Blade view for domain registration (`registrant-tochuc.blade.php`) to capture organization and manager details.
- Implement email templates for new domain orders for both admin (`domain-order-new.blade.php`) and customers (`domain-order-received.blade.php`).
- Add CSV exports for client and domain data.
- Introduce tests for customer mass assignment, password reset, login throttling, and permission gating.
- Ensure service renewals use current pricing and validate ownership for virtual machines.
- Validate mass assignment behavior in service model.
2026-08-22 17:30:55 +07:00

22 lines
437 B
PHP

<?php
namespace App\Http\Requests\Api\Admin\Domain;
use Illuminate\Foundation\Http\FormRequest;
class UpdateRegistrantInfoRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'registrant_type' => ['required', 'in:individual,organization'],
'registrant_info' => ['required', 'array'],
];
}
}