Files
minicrm/app/Filament/Resources/FeedbackChannels/Schemas/FeedbackChannelForm.php
phuongtc 887765bbd7 feat: AfterSales CRM - SOP compliant real-estate customer care system
- Departments + cross-department transfer workflow
- Role-based closing (staff→resolved, manager→closed) with proof_of_resolution
- Private file storage with collection system + temporary signed URLs
- Dashboard: resolved tickets table, stats, handler performance bar chart
- Spatie RBAC (admin/manager/staff)
- Notifications: TicketTransferred, TicketClosed (database + mail)
- Pest tests: 8 tests, 21 assertions
- Docker production-ready (Dockerfile + compose + entrypoint)
2026-04-27 05:29:48 +00:00

35 lines
1.1 KiB
PHP

<?php
namespace App\Filament\Resources\FeedbackChannels\Schemas;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Components\Toggle;
use Filament\Schemas\Components\Section;
use Filament\Schemas\Schema;
class FeedbackChannelForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
Section::make()
->schema([
TextInput::make('name')
->required()
->maxLength(255),
TextInput::make('slug')
->required()
->maxLength(255)
->unique(ignoreRecord: true),
TextInput::make('icon')
->maxLength(255)
->hint('Heroicon name or emoji'),
Toggle::make('is_active')
->default(true),
])
->columns(2),
]);
}
}