@php $locale = request()->locale ?? app()->getLocale(); $storeRoute = 'bundle.store'; $updateRoute = 'bundle.update'; $thumbnailRemove = 'bundle.thumbnail.delete'; $translate = 'bundle.translate'; if (isInstructor()) { $storeRoute = 'instructor.bundle.store'; $updateRoute = 'instructor.bundle.update'; $thumbnailRemove = 'instructor.bundle.thumbnail.delete'; $translate = 'instructor.bundle.translate'; } elseif (isOrganization()) { $storeRoute = 'organization.bundle.store'; $updateRoute = 'organization.bundle.update'; $thumbnailRemove = 'organization.bundle.thumbnail.delete'; $translate = 'organization.bundle.translate'; } $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; @endphp @if (is_active($translate) === 'active')

{{ translate('Translate Language') }}

@endif
@if (isset($bundle)) @method('PUT') @endif @csrf
{{ translate('Bundle Info') }}
@if (is_active($translate) == 'active') @endif @if (is_active($translate) !== 'active')
@endif
@if (!isOrganization()) @else @endif
@if (is_active($translate) !== 'active')
{{ translate('Media') }}

{{ translate('Thumbnail') }}( 300 x 300 )

@if (isset($bundle) && fileExists('lms/courses/bundles', $bundle?->thumbnail) == true && $bundle?->thumbnail !== '')
@endif
@endif
@push('js') @endpush