@if(userCan('ProductCategory-list')==0) @php header("Location: " . URL::to('errors.403'), true, 302); exit(); @endphp @endphp @endif @extends('layouts.default') @php $pageTitle = 'Product Category List'; @endphp @section('title',$pageTitle) @section('PageHead') @if ( session('massage') )
× Success! {{session('massage')}}
@endif @if ( session('error') )
× Not Success! {{session('error')}}
@endif @if (Session::has('errors'))
@endif @php $CategoryName= app('request')->input('category_name'); $ParentCatId= app('request')->input('parent_cat_id'); $Status= app('request')->input('status'); $appPerPage= app('request')->input('perPage'); @endphp

{{$pageTitle}}

@stop @section('content')
Per Page @php $curentperPagesnum = isset($_GET['perPage'])?$_GET['perPage']:10; @endphp @php $perPages = array(10,15,20,50,100,500,1000);@endphp
{{paginationHeaderInfo($datas)}}
{{$datas->appends([ 'category_name' => $CategoryName, 'parent_cat_id' => $ParentCatId, 'status' => $Status ])->links('pagination::bootstrap-4')}}

@foreach($datas as $key=>$data) @endforeach
ID Category Name Parent Category Status Action
{{@$data->catID}} {{@$data->catName}} {{@$data->ProductCategorie->catName}} @if(intval(@$data->status)>0) Active @else Deactive @endif @if(userCan('ProductCategory')>0) @endif @if(userCan('ProductCategory-edit')>0) @endif @if(userCan('ProductCategory')>0) @endif
{{paginationHeaderInfo($datas)}}
{{$datas->appends([ 'category_name' => $CategoryName, 'parent_cat_id' => $ParentCatId, 'status' => $Status ])->links('pagination::bootstrap-4')}}
@stop