blockingFileFor($this->data['supplier_id'] ?? null); if (! $blockingFile) { return; } Notification::make() ->title('A beszállítóhoz jelenleg nem vihető fel árlista') ->body(app(PricelistGuard::class)->blockingMessage($blockingFile)) ->danger() ->persistent() ->send(); throw new Halt; } protected function afterCreate(): void { app(\App\Services\PricelistFileProcessService::class)->dispatchInitialChain($this->record); } }