@extends('layouts.settings') @section('title', __('category.list')) @section('content_settings')
@forelse($categories as $key => $category) @empty @endforelse
{{ __('app.table_no') }} {{ __('category.name') }} {{ __('app.status') }} {{ __('category.description') }} {{ __('app.action') }}
{{ 1 + $key }} {!! $category->name_label !!} {{ $category->status }} {{ $category->description }} @can('view', $category) {{ link_to_route( 'categories.show', __('category.view_transactions'), $category, ['class' => 'btn btn-sm btn-secondary'] ) }} @endcan @can('update', $category) {{ link_to_route( 'categories.index', __('app.edit'), ['action' => 'edit', 'id' => $category->id], [ 'id' => 'edit-category-'.$category->id, 'class' => 'btn btn-sm btn-warning', ] ) }} @endcan
{{ __('category.not_found') }}
@if(Request::has('action')) @include('categories.forms') @endif
@endsection @section('styles') {{ Html::style(url('css/plugins/bootstrap-colorpicker.min.css')) }} @endsection @push('scripts') {{ Html::script(url('js/plugins/bootstrap-colorpicker.min.js')) }} @endpush