|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/poskrypt/admin.poskrypt.com/resources/views/taxonomy/ |
Upload File : |
@php
$is_cat_code_enabled = isset($module_category_data['enable_taxonomy_code']) && !$module_category_data['enable_taxonomy_code'] ? false : true;
@endphp
@can('category.create')
<button type="button" class="btn btn-sm pull-right btn-primary btn-modal" data-href="{{action([\App\Http\Controllers\TaxonomyController::class, 'create'])}}?type={{$category_type}}" data-container=".category_modal">
<i class="fa fa-plus"></i>
@lang( 'messages.add' )
</button>
<br><br>
@endcan
@can('category.view')
<div class="table-responsive">
<table class="table table-bordered table-striped" id="category_table" style="width: 100%;">
<thead>
<tr>
<th>@if(!empty($module_category_data['taxonomy_label'])) {{$module_category_data['taxonomy_label']}} @else @lang( 'category.category' ) @endif</th>
@if($is_cat_code_enabled)
<th>{{ $module_category_data['taxonomy_code_label'] ?? __( 'category.code' )}}</th>
@endif
<th>@lang( 'lang_v1.description' )</th>
<th>@lang( 'messages.action' )</th>
</tr>
</thead>
</table>
</div>
@endcan
<div class="modal fade category_modal" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel">
</div>