2016-03-25 01:18:05 -07:00
|
|
|
@extends('layouts/default')
|
|
|
|
|
|
|
|
{{-- Page title --}}
|
|
|
|
@section('title')
|
|
|
|
{{ trans('general.accessories') }}
|
|
|
|
@parent
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('header_right')
|
2016-12-19 11:04:28 -08:00
|
|
|
@can('create', \App\Models\Accessory::class)
|
2016-12-15 04:27:17 -08:00
|
|
|
<a href="{{ route('accessories.create') }}" class="btn btn-primary pull-right"> {{ trans('general.create') }}</a>
|
2016-08-02 00:54:38 -07:00
|
|
|
@endcan
|
2016-03-25 01:18:05 -07:00
|
|
|
@stop
|
|
|
|
|
|
|
|
{{-- Page content --}}
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
<div class="box box-default">
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="table-responsive">
|
2018-02-16 13:22:55 -08:00
|
|
|
|
|
|
|
<table
|
|
|
|
data-columns="{{ \App\Presenters\AccessoryPresenter::dataTableLayout() }}"
|
|
|
|
data-cookie-id-table="accessoriesTable"
|
|
|
|
data-pagination="true"
|
|
|
|
data-id-table="accessoriesTable"
|
|
|
|
data-search="true"
|
|
|
|
data-side-pagination="server"
|
|
|
|
data-show-columns="true"
|
|
|
|
data-show-export="true"
|
|
|
|
data-show-refresh="true"
|
2018-02-21 15:54:16 -08:00
|
|
|
data-show-footer="true"
|
2018-02-16 13:22:55 -08:00
|
|
|
data-sort-order="asc"
|
|
|
|
id="accessoriesTable"
|
|
|
|
class="table table-striped snipe-table"
|
|
|
|
data-url="{{route('api.accessories.index') }}"
|
|
|
|
data-export-options='{
|
|
|
|
"fileName": "export-accessories-{{ date('Y-m-d') }}",
|
|
|
|
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
|
|
|
|
}'>
|
2016-03-25 01:18:05 -07:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-12-27 12:03:47 -08:00
|
|
|
</div>
|
2016-03-25 01:18:05 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-12-27 12:03:47 -08:00
|
|
|
@stop
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
@section('moar_scripts')
|
2018-02-16 13:22:55 -08:00
|
|
|
@include ('partials.bootstrap-table')
|
2016-03-25 01:18:05 -07:00
|
|
|
@stop
|