@extends('admin.admin_dashboard') @section('admin')

@foreach ($product_study as $key => $study) @endforeach
Sl Chapter Title Product Name Section Status Action
{{ $key + 1 }} {{ $study->chapter_title }} {{ $study->product->product_name }} @if ($study->section == 1) EBook @elseif($study->section == 2) Opening Credit @elseif($study->section == 3) Introduction @elseif($study->section == 4) Chapter One @elseif($study->section == 5) Chapter Two @elseif($study->section == 6) Chapter Three @elseif($study->section == 7) Chapter Four @elseif($study->section == 8) Chapter Five @elseif($study->section == 9) Chapter Six @elseif($study->section == 10) Chapter Seven @elseif($study->section == 11) Chapter Eight @elseif($study->section == 12) Chapter Nine @elseif($study->section == 13) Chapter Ten @elseif($study->section == 14) Chapter Eleven @elseif($study->section == 15) Chapter Twelve @elseif($study->section == 16) Chapter Thirteen @elseif($study->section == 17) Chapter Fourteen @elseif($study->section == 18) Chapter Fifteen @elseif($study->section == 19) Chapter Sixteen @elseif($study->section == 20) Conclusion @elseif($study->section == 21) Closing Credit @endif @if ($study->status == 1) Active @else Deactivated @endif @if (Auth::user()->can('product.study.edit')) @endif @if ($study->status == 1) @if (Auth::user()->can('product.study.deactivate')) @endif @else @if (Auth::user()->can('product.study.activate')) @endif @endif @if (Auth::user()->can('product.study.delete')) @endif
Sl Chapter Title Product Name Section Status Action
@endsection