@php $locale = request()->locale ?? app()->getLocale(); $translations = []; $bundle = $bundle ?? null; if ($bundle && $locale) { $translations = parse_translation($bundle, $locale); } $backendSetting = get_theme_option(key: 'backend_general') ?? null; $platformFee = $backendSetting['platform_fee'] ?? 0; $bundlePrice = isset($bundle) ? $bundle->price - $bundle->platform_fee : null; $isOrganization = isOrganization(); $isAdmin = isAdmin(); @endphp
@csrf