Files
dockersyshome/app/Notifications/FeatureRequestNotification.php
T
marco 38295e7e88 feat(cms): implement complete SysSiteCMS content management system
Initial implementation of the HomeSysPanel CMS built with Laravel 13.0.
Includes complete admin panel, content management, user authentication,
modular architecture for products/services/chatbot, and marketing tools.

Key features:
- User authentication with email verification and password reset
- Role-based access control (Admin/User with granular permissions)
- Content management (pages, news, FAQ, downloads, galleries, banners)
- Contact management system with subjects and responses
- Marketing tools (email campaigns, visitor analytics, social sharing)
- Modular architecture (Products, Services, Chatbot modules)
- AI Chatbot integration with OpenRouter.ai and LlamaCpp support
- Visitor tracking with geolocation
- SEO optimization with meta tags and Open Graph
- Responsive design with Bootstrap 5
- Dark mode support
- Maintenance mode
- Feature request system
2026-09-07 19:06:53 -03:00

55 lines
1.6 KiB
PHP
Executable File

<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use App\Models\User;
class FeatureRequestNotification extends Notification
{
use Queueable;
protected $user;
protected $description;
/**
* Create a new notification instance.
*/
public function __construct($user, string $description)
{
$this->user = $user;
$this->description = $description;
}
/**
* Get the notification's delivery channels.
*
* @return array<int, string>
*/
public function via(object $notifiable): array
{
return ['mail'];
}
/**
* Get the mail representation of the notification.
*/
public function toMail(object $notifiable): MailMessage
{
return (new MailMessage)
->subject('Solicitação de Nova Funcionalidade - ' . config('app.name'))
->greeting('Olá, equipe SysSiteCMS!')
->line('Um usuário solicitou uma nova funcionalidade para o sistema.')
->line('**Dados do Usuário:**')
->line('- **Nome:** ' . $this->user->name)
->line('- **E-mail:** ' . $this->user->email)
->line('- **Empresa:** ' . ($this->user->company ?? 'Não informado'))
->line('**Necessidade Descrita:**')
->line($this->description)
->line('Favor entrar em contato com o cliente para orçamento.');
}
}