@extends('admin.app') @section('page_title','All Type Educator') @section('page_location') @endsection @section('main-content')
{{--

View All Content Type

--}} {{-- {{ route('user.index') }} --}} @php $i=1; @endphp @if(isset($educators))
@foreach($educators as $value)
Id Coaching classes Discount(%) Referal Discount(%) Office address Website address City State Pincode Pan no Gst Entity Logo Description Status Action
{{ $i++ }} {{ $value->coaching_classes }} {{ $value->discount }} {{ $value->referal_discount }} {{ $value->office_address }} {{ $value->website_address }} {{ $value->city }} {{ $value->state }} {{ $value->pincode }} {{ $value->pan_no }} {{ $value->gst_no }} {{ $value->entity }} @php $photos =array(); if( !empty($value->logos)) { $photos = unserialize( $value->logos); if(count($photos)>0) { $img_path=url('/logo/'.$photos['photo1']); echo ''; } } @endphp @php $description = strip_tags( html_entity_decode(stripslashes($value->description),ENT_QUOTES,"UTF-8")) @endphp {{ str_limit($description, $limit = 50, $end = '...') }} @if ($value->status== 1) Active @elseif($value->status== 0) Inactive @endif @if(checkPermission(GetRoleID(Auth::user()->id),'edit-educator'))