@extends('admin.layouts.app') @section('content')

Video Bundles

@if(Auth::user()->role_id == 2) @else @endif
@if( $bundles ) @php $i = 0; @endphp @foreach( $bundles as $result ) @endforeach @endif
ID Bundle Name Bundle thumbnail Price Status Action
{{ ++$i }} {{ $result->name }} {{ $result->price }}
    @if($result->status == 1)
  • Active
  • @else
  • Inactive
  • @endif
@php $prodID = Crypt::encrypt($result->id); @endphp @if(Auth::user()->role_id == 2)
@else
{{ Form::open(['route' => ['videoBundle.delete', $result->id], 'method' => 'delete']) }} {{ Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-dim btn-danger']) }} {{ Form::close() }}
@endif
@endsection