@extends('admin.layouts.app') @push('styles_top') @endpush @section('content') {{!empty($bundle) ?trans('/admin/main.edit'): trans('admin/main.new') }} {{ trans('update.bundle') }} {{ trans('admin/main.dashboard') }} {{ trans('update.bundles') }} {{!empty($bundle) ?trans('/admin/main.edit'): trans('admin/main.new') }} {{ csrf_field() }} {{ trans('public.basic_information') }} @if(!empty(getGeneralSettings('content_translate'))) {{ trans('auth.language') }} @foreach($userLanguages as $lang => $language) get('locale', app()->getLocale())) == mb_strtolower($lang)) selected @endif>{{ $language }} @endforeach @error('locale') {{ $message }} @enderror @else @endif {{ trans('public.title') }} @error('title') {{ $message }} @enderror {{ trans('update.required_points') }} {{ trans('update.product_points_hint') }} @error('points') {{ $message }} @enderror {{ trans('update.bundle_url') }} {{ trans('update.bundle_url_hint') }} @error('slug') {{ $message }} @enderror @if(!empty($bundle) and $bundle->creator->isOrganization()) {{ trans('admin/main.organization') }} {{ $bundle->creator->full_name }} @endif {{ trans('admin/main.select_a_instructor') }} @if(!empty($bundle)) {{ $bundle->teacher->full_name }} @else {{ trans('public.select_a_teacher') }} @endif @error('teacher_id') {{ $message }} @enderror {{ trans('public.seo_description') }} {{ trans('admin/main.seo_description_hint') }} @error('seo_description') {{ $message }} @enderror {{ trans('public.thumbnail_image') }} @error('thumbnail') {{ $message }} @enderror {{ trans('public.cover_image') }} @error('image_cover') {{ $message }} @enderror {{ trans('public.demo_video') }} ({{ trans('public.optional') }}) {{ trans('public.source') }} @foreach(\App\Models\Webinar::$videoDemoSource as $source) video_demo_source == $source) selected @endif>{{ trans('update.file_source_'.$source) }} @endforeach {{ trans('update.path') }} @error('video_demo') {{ $message }} @enderror {{ trans('public.description') }} {!! !empty($bundle) ? $bundle->description : old('description') !!} @error('description') {{ $message }} @enderror {{ trans('public.additional_information') }} {{ trans('public.subscribe') }} subscribe ? 'checked' : '' }}> {{ trans('update.access_days') }} @error('access_days') {{ $message }} @enderror - {{ trans('update.access_days_input_hint') }} {{ trans('public.price') }} @error('price') {{ $message }} @enderror {{ trans('public.tags') }} {{ trans('public.category') }} {{ trans('public.choose_category') }} @foreach($categories as $category) @if(!empty($category->subCategories) and count($category->subCategories)) @foreach($category->subCategories as $subCategory) category_id == $subCategory->id) ? 'selected' : '' }}>{{ $subCategory->title }} @endforeach @else category_id == $category->id) ? 'selected' : '' }}>{{ $category->title }} @endif @endforeach @error('category_id') {{ $message }} @enderror {{ trans('public.category_filters') }} @if(!empty($bundleCategoryFilters) and count($bundleCategoryFilters)) @foreach($bundleCategoryFilters as $filter) {{ $filter->title }} @foreach($filter->options as $option) {{ $option->title }} id,$bundleFilterOptions)) ? 'checked' : '') }} class="custom-control-input" id="filterOptions{{ $option->id }}"> @endforeach @endforeach @endif @if(!empty($bundle)) {{ trans('admin/main.price_plans') }} {{ trans('admin/main.add_price_plan') }} @if(!empty($tickets) and !$tickets->isEmpty()) {{ trans('public.title') }} {{ trans('public.discount') }} {{ trans('public.capacity') }} {{ trans('public.date') }} @foreach($tickets as $ticket) {{ $ticket->title }} {{ $ticket->discount }}% {{ $ticket->capacity }} {{ dateTimeFormat($ticket->start_date,'j F Y') }} - {{ (new DateTime())->setTimestamp($ticket->end_date)->format('j F Y') }} @include('admin.includes.delete_button',['url' => '/admin/tickets/'. $ticket->id .'/delete', 'btnClass' => ' mt-1']) @endforeach @else @include('admin.includes.no-result',[ 'file_name' => 'ticket.png', 'title' => trans('public.ticket_no_result'), 'hint' => trans('public.ticket_no_result_hint'), ]) @endif {{ trans('product.courses') }} {{ trans('update.add_new_course') }} @if(!empty($bundleWebinars) and !$bundleWebinars->isEmpty()) {{ trans('public.title') }} {{ trans('public.instructor') }} {{ trans('public.price') }} {{ trans('public.publish_date') }} @foreach($bundleWebinars as $bundleWebinar) @if(!empty($bundleWebinar->webinar->title)) {{ $bundleWebinar->webinar->title }} {{ $bundleWebinar->webinar->teacher->full_name }} {{ addCurrencyToPrice(handlePriceFormat($bundleWebinar->webinar->price)) }} {{ dateTimeFormat($bundleWebinar->webinar->created_at,'j F Y | H:i') }} @include('admin.includes.delete_button',['url' => '/admin/bundle-webinars/'. $bundleWebinar->id .'/delete', 'btnClass' => ' mt-1']) @endif @endforeach @else @include('admin.includes.no-result',[ 'file_name' => 'comment.png', 'title' => trans('update.bundle_webinar_no_result'), 'hint' => trans('update.bundle_webinar_no_result_hint'), ]) @endif {{ trans('public.faq') }} {{ trans('public.add_faq') }} @if(!empty($faqs) and !$faqs->isEmpty()) {{ trans('public.title') }} {{ trans('public.answer') }} @foreach($faqs as $faq) {{ $faq->title }} {{ trans('public.view') }} @include('admin.includes.delete_button',['url' => '/admin/faqs/'. $faq->id .'/delete', 'btnClass' => ' mt-1']) @endforeach @else @include('admin.includes.no-result',[ 'file_name' => 'faq.png', 'title' => trans('public.faq_no_result'), 'hint' => trans('public.faq_no_result_hint'), ]) @endif @endif {{ trans('public.message_to_reviewer') }} {{ (!empty($bundle) and $bundle->message_for_reviewer) ? $bundle->message_for_reviewer : old('message_for_reviewer') }} {{ !empty($bundle) ? trans('admin/main.save_and_publish') : trans('admin/main.save_and_continue') }} @if(!empty($bundle)) {{ trans('public.reject') }} @include('admin.includes.delete_button',[ 'url' => '/admin/bundles/'. $bundle->id .'/delete', 'btnText' => trans('public.delete'), 'hideDefaultClass' => true, 'btnClass' => 'btn btn-danger' ]) @endif @include('admin.bundles.modals.bundle-webinar') @include('admin.bundles.modals.ticket') @include('admin.bundles.modals.faq') @endsection @push('scripts_bottom') @endpush
- {{ trans('update.access_days_input_hint') }}