@extends('layouts/default')
{{-- Page title --}}
@section('title')
{{ $category->name }}
{{ ucwords($category_type_route) }}
@parent
@stop
@section('header_right')
@stop
{{-- Page content --}}
@section('content')
@if ($category->category_type!='asset')
{{ trans('general.id') }} |
{{ trans('admin/companies/table.title') }}
|
{{ trans('general.name') }} |
{{ trans('table.actions') }} |
@endif
@stop
@section('moar_scripts')
@if ($category->category_type=='asset')
@include ('partials.bootstrap-table',
[
'exportFile' => 'category-' . $category->name . '-export',
'search' => true,
'columns' => \App\Presenters\AssetPresenter::dataTableLayout()])
@else
@include ('partials.bootstrap-table',
[
'exportFile' => 'category-' . $category->name . '-export',
'search' => false])
@endif
@stop