true, 'reason' => 'clone_action']; } $dispatched = false; if (function_exists('dispatchCacheBladeViews')) { dispatchCacheBladeViews([ [ 'view' => 'admin-ajax.register-no-cache', 'cache' => 'register-creator' ] ]); $dispatched = true; Log::info('RegisterCreatorCacheTrigger: Cache update dispatched', [ 'weld_log_id' => $weldLogData->id, 'iso' => $weldLogData->iso_number ?? 'unknown' ]); } else { Log::warning('RegisterCreatorCacheTrigger: dispatchCacheBladeViews function not found'); } return [ 'cache_dispatched' => $dispatched ]; } /** * Allow async execution since this is just dispatching another job */ public function isAsync(): bool { return true; } }