@extends('admin.layouts.master') @section('title', '訓練計畫編輯 - Admin') @section('body') @include('admin.message') {{ __('adminstaticword.Edit') }} {{ __('adminstaticword.BundleCourse') }} {{ 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.BundleCategory') }}: * @if ($bundleCategory->isEmpty()) 未有任何訓練計畫分類 @else @foreach ($bundleCategory as $item) id == $bundleCategoryRelation->category_id) selected @endif @endif>{{ $item->name }} @endforeach @endif {{ __('adminstaticword.Detail') }}:* {!! $cor->detail !!} {{-- 適用情形 --}} {{ __('adminstaticword.Suitable') }}: {!! $cor->fit_situation !!} {{-- 不適用情形 --}} {{ __('adminstaticword.NotSuitable') }}: {!! $cor->unfit_situation !!} {{-- 事前準備 --}} {{ __('adminstaticword.Preparation') }}: {!! $cor->before_fitness !!} {{-- 身體反應 --}} {{ __('adminstaticword.BodyResponse') }}: {!! $cor->body_response !!} {{-- 課程建議 --}} {{ __('adminstaticword.Suggest') }}: {!! $cor->body_response !!} {{-- 其他 --}} {{ __('adminstaticword.Note') }}: {!! $cor->note !!} {{-- 間格天數 --}} 間隔天數 / 天 {{ __('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 {{ __('adminstaticword.Status') }}: status == 1 ? 'checked' : '' }}> 熱門: popular == 1 ? 'checked' : '' }}> {{ __('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' : '' }} > {{ __('adminstaticword.BundleExpireDuration') }} --}} @endsection @section('scripts') @endsection