@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
@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'] !== '')
@else
@endif
Plan
{{ str_limit($subscrib->plans->title, $limit = 35, $end = '...') }}
{{ __('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 }}
{{__('Subscribed')}}
@endif @endforeach
@endif
{{ __('All Plans Available') }}
@foreach($plans as $plan) @if($plan->status == '1')
@if($plan['preview_image'] !== NULL && $plan['preview_image'] !== '')
@else
@endif
Plan
{{ str_limit($plan->title, $limit = 35, $end = '...') }}
{{__('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() }}
{{ __('Subscribe Now')}}
@else
{{ csrf_field() }}
{{ __('Subscribe Now')}}
@endif
@endif @endforeach
@endsection @section('custom-script') @endsection