@@ -7,12 +7,6 @@
|
||||
@stop
|
||||
|
||||
|
||||
@section('header_right')
|
||||
@can('update', \App\Models\Asset::class)
|
||||
<a href="{{ route('maintenances.create') }}" class="btn btn-primary pull-right"> {{ trans('general.create') }}</a>
|
||||
@endcan
|
||||
@stop
|
||||
|
||||
{{-- Page content --}}
|
||||
@section('content')
|
||||
|
||||
@@ -24,17 +18,10 @@
|
||||
<table
|
||||
data-columns="{{ \App\Presenters\AssetMaintenancesPresenter::dataTableLayout() }}"
|
||||
data-cookie-id-table="maintenancesTable"
|
||||
|
||||
|
||||
|
||||
|
||||
data-side-pagination="server"
|
||||
|
||||
|
||||
data-show-footer="true"
|
||||
|
||||
|
||||
id="maintenancesTable"
|
||||
data-buttons="maintenanceButtons"
|
||||
class="table table-striped snipe-table"
|
||||
data-url="{{route('api.maintenances.index') }}"
|
||||
data-export-options='{
|
||||
|
||||
@@ -6,11 +6,6 @@
|
||||
@parent
|
||||
@stop
|
||||
|
||||
@section('header_right')
|
||||
@can('create', \App\Models\Component::class)
|
||||
<a href="{{ route('components.create') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=n" : ''}} class="btn btn-primary pull-right"> {{ trans('general.create') }}</a>
|
||||
@endcan
|
||||
@stop
|
||||
|
||||
{{-- Page content --}}
|
||||
@section('content')
|
||||
@@ -28,6 +23,7 @@
|
||||
data-sort-order="asc"
|
||||
data-sort-name="name"
|
||||
id="componentsTable"
|
||||
data-buttons="componentButtons"
|
||||
class="table table-striped snipe-table"
|
||||
data-url="{{ route('api.components.index') }}"
|
||||
data-export-options='{
|
||||
|
||||
@@ -6,12 +6,6 @@
|
||||
@parent
|
||||
@stop
|
||||
|
||||
@section('header_right')
|
||||
@can('create', \App\Models\Consumable::class)
|
||||
<a href="{{ route('consumables.create') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=n" : ''}} class="btn btn-primary pull-right"> {{ trans('general.create') }}</a>
|
||||
@endcan
|
||||
@stop
|
||||
|
||||
{{-- Page content --}}
|
||||
@section('content')
|
||||
|
||||
@@ -31,6 +25,7 @@
|
||||
data-sort-name="name"
|
||||
data-toolbar="#toolbar"
|
||||
id="consumablesTable"
|
||||
data-buttons="consumableButtons"
|
||||
class="table table-striped snipe-table"
|
||||
data-url="{{ route('api.consumables.index') }}"
|
||||
data-export-options='{
|
||||
|
||||
@@ -6,12 +6,6 @@
|
||||
@parent
|
||||
@stop
|
||||
|
||||
@section('header_right')
|
||||
@can('create', \App\Models\Statuslabel::class)
|
||||
<a href="{{ route('statuslabels.create') }}" class="btn btn-primary pull-right">
|
||||
{{ trans('general.create') }}</a>
|
||||
@endcan
|
||||
@stop
|
||||
{{-- Page content --}}
|
||||
@section('content')
|
||||
|
||||
@@ -28,6 +22,7 @@
|
||||
data-sort-order="asc"
|
||||
data-sort-name="name"
|
||||
id="statuslabelsTable"
|
||||
data-buttons="statuslabelButtons"
|
||||
class="table table-striped snipe-table"
|
||||
data-url="{{ route('api.statuslabels.index') }}"
|
||||
data-export-options='{
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
data-bulk-button-id="#bulkAssetEditButton"
|
||||
data-bulk-form-id="#assetsBulkForm"
|
||||
id="assetsListingTable"
|
||||
data-buttons="assetButtons"
|
||||
class="table table-striped snipe-table"
|
||||
data-url="{{route('api.assets.index', ['status_id' => $statuslabel->id]) }}"
|
||||
data-export-options='{
|
||||
|
||||
Reference in New Issue
Block a user