@extends('theme.master') @section('title', 'Instructor Subscription Plan') @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets))
@if($gets['img'] !== NULL && $gets['img'] !== '') @else course @endif

{{ __('Instructor Plan') }}

@endif
@if(isset($subscribed))

{{ __('Active Plan') }}

@foreach($subscribed as $subscrib) @if($subscrib->plans->status == '1')
@if($subscrib->plans['preview_image'] !== NULL && $subscrib->plans['preview_image'] !== '') {{ __('course')}} @else {{ __('course')}} @endif
{{ __('Duration') }}:
    @if($subscrib->plans->duration == 'm') @if($subscrib->plans->discount_price == !NULL)
  • @if($subscrib->plans->type == 1){{ $subscrib->plans->price }} /@endif {{ $subscrib->plans->duration }} {{ __('Month') }}
  • @if($subscrib->plans->type == 1){{ $subscrib->plans->discount_price }}/@endif {{ $subscrib->plans->duration }} {{ __('Month') }}
  • @else
  • @if($subscrib->plans->type == 1){{ $subscrib->plans->price }} /@endif {{ $subscrib->plans->duration }} {{ __('Month') }}
  • @endif @else @if($subscrib->plans->discount_price == !NULL)
  • @if($subscrib->plans->type == 1){{ $subscrib->plans->price }} /@endif {{ $subscrib->plans->duration }} {{ __('Month') }}
  • @if($subscrib->plans->type == 1){{ $subscrib->plans->discount_price }}/@endif {{ $subscrib->plans->duration }} {{ __('Month') }}
  • @else
  • @if($subscrib->plans->type == 1){{ $subscrib->plans->price }} /@endif {{ $subscrib->plans->duration }} {{ __('Month') }}
  • @endif @endif
{{ __('Allowed Courses') }}:
{{ $subscrib->plans->courses_allowed }}
@endif @endforeach
@endif

{{ __('All Plans Available') }}

@foreach($plans as $plan) @if($plan->status == '1')
@if($plan['preview_image'] !== NULL && $plan['preview_image'] !== '') course @else course @endif
{{__('Duration')}}:
    @if($plan->duration == 'm') @if($plan->discount_price == !NULL)
  • @if($plan->type == 1){{ $plan->price }} /@endif {{ $plan->duration }} {{ __('Month')}}
  • @if($plan->type == 1){{ $plan->discount_price }} /@endif {{ $plan->duration }} {{ __('Month')}}
  • @else
  • @if($plan->type == 1){{ $plan->price }} /@endif {{ $plan->duration }} {{ __('Month')}}
  • @endif @else @if($plan->discount_price == !NULL)
  • @if($plan->type == 1){{ $plan->price }} @endif / {{ $plan->duration }} {{ __('Month')}}
  • @if($plan->type == 1){{ $plan->discount_price }} / @endif {{ $plan->duration }} {{ __('Month')}}
  • @else
  • @if($plan->type == 1){{ $plan->price }} / @endif {{ $plan->duration }} {{ __('Month')}}
  • @endif @endif
{{ __('Allowed Courses') }}:
{{ $plan->courses_allowed }}
{{ $plan['title'] }}

{!! $plan->detail !!}

@if($plan->type == 1)
{{ csrf_field() }}
@else
{{ csrf_field() }}
@endif
@endif @endforeach
@endsection @section('custom-script') @endsection