diff --git a/app/Services/EventCalendarService.php b/app/Services/EventCalendarService.php index 692cd98..746fb83 100644 --- a/app/Services/EventCalendarService.php +++ b/app/Services/EventCalendarService.php @@ -312,6 +312,14 @@ class EventCalendarService extends BaseService } else { $data = ParkingPattern::query()->where('is_default', 1)->first($columns); } + if (isset($data['model_name'])) { + $data['model_name'] + = AdminTranslationService::getTranslationTypeName( + $data['pattern_id'], + 10, + $data['model_name'] + ); + } return $data; }