@extends('admin.layouts.master') @section('title', 'Bundle Edit - Admin') @section('body') @include('admin.message') {{ __('adminstaticword.Edit') }} {{ __('adminstaticword.Course') }} {{ csrf_field() }} {{ method_field('PUT') }} {{ __('adminstaticword.Title') }}:* {{ __('adminstaticword.SelectCourse') }}: * @foreach ($courses as $cat) @if ($cat->status == 1) id, $cor['course_id'] ?: []) ? 'selected' : '' }}> {{ $cat->title }} @endif @endforeach {{ __('adminstaticword.ShortDetail') }}:* {{ $cor->short_detail }} {{ __('adminstaticword.Detail') }}:* {!! $cor->detail !!} {{ __('adminstaticword.Free') }}: type == '1' ? 'checked' : '' }} /> price == '' && $cor->price == '') class="display-none" @endif id="doabox"> {{ __('adminstaticword.Price') }}: * price == '' && $cor->discount_price == '') class="display-none" @endif id="doaboxx"> {{ __('adminstaticword.DiscountPrice') }}: * @if (Auth::User()->role == 'admin') {{ __('adminstaticword.Featured') }}: featured == 1 ? 'checked' : '' }}> @endif @if (Auth::User()->role == 'admin') {{ __('adminstaticword.Status') }}: status == 1 ? 'checked' : '' }}> @endif {{ __('adminstaticword.PreviewImage') }}: {{ __('adminstaticword.Chooseafile') }}… @if ($cor['preview_image'] !== null && $cor['preview_image'] !== '') @else @endif {{ __('adminstaticword.Subscription') }}: is_subscription_enabled ? 'checked' : '' }}> Subscription bundle works with stripe payment only. Enable it only when you have setup stripe. @php $selectedPeriod =$cor->billing_interval; @endphp {{ __('adminstaticword.BillingPeriod') }} Daily Weekly Monthly Yearly {{ __('adminstaticword.Duration') }}: duration_type == "m" ? 'checked' : '' }} > Bundle Expire Duration @endsection @section('scripts') @endsection