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

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