@extends('admin.layouts.master') @section('title','All Bundle') @section('maincontent') @component('components.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('Bundles') }} @endslot @slot('menu1') {{ __('Bundles') }} @endslot @slot('button')
{{ __('Add Bundle') }}
@endslot @endcomponent
{{ __('All Bundles') }}
@if(Auth::User()->role == "admin") @foreach($course as $cat) {{-- --}} @endforeach @else @php $cors = App\Course::where('user_id', Auth::User()->id)->get(); @endphp @foreach($cors as $cor) @endforeach @endif
# {{ __('adminstaticword.Image') }} {{ __('adminstaticword.Title') }} {{ __('adminstaticword.Instructor') }} {{ __('adminstaticword.Slug') }} {{ __('adminstaticword.Featured') }} {{ __('adminstaticword.Status') }} {{ __('adminstaticword.Subscription') }} {{ __('adminstaticword.Action') }}
1 @if($cat['preview_image'] !== NULL && $cat['preview_image'] !== '') @else @endif {{$cat->title}} {{ $cat->user['fname'] }} {{$cat->slug}}
@if( $cat->is_subscription_enabled== '1') {{ __('adminstaticword.Active') }} @else {{ __('adminstaticword.Deactive') }} @endif
2 @if($cor['preview_image'] !== NULL && $cor['preview_image'] !== '') @else @endif {{$cor->title}} {{ $cor->user['fname'] }} {{$cor->slug}} @if($cor->featured ==1) {{ __('adminstaticword.Yes') }} @else {{ __('adminstaticword.No') }} @endif @if($cor->status ==1) {{ __('adminstaticword.Active') }} @else {{ __('adminstaticword.Deactive') }} @endif
{{ csrf_field() }} {{ method_field('DELETE') }}
@endsection @section('script') @endsection