Files
zemailnator/app/Filament/Resources/PlanResource/Pages/CreatePlan.php

22 lines
533 B
PHP

<?php
namespace App\Filament\Resources\PlanResource\Pages;
use App\Filament\Resources\PlanResource;
use Filament\Actions;
use Filament\Notifications\Notification;
use Filament\Resources\Pages\CreateRecord;
class CreatePlan extends CreateRecord
{
protected static string $resource = PlanResource::class;
protected function getCreatedNotification(): ?Notification
{
return Notification::make()
->success()
->title('Plan created')
->body('Plan created successfully');
}
}