2016-03-25 01:18:05 -07:00
|
|
|
@extends('layouts/default')
|
|
|
|
|
|
|
|
{{-- Page title --}}
|
|
|
|
@section('title')
|
|
|
|
{{ trans('general.asset_maintenance_report') }}
|
|
|
|
@parent
|
|
|
|
@stop
|
|
|
|
|
|
|
|
{{-- Page content --}}
|
|
|
|
@section('content')
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
2016-12-27 12:03:47 -08:00
|
|
|
<div class="box box-default">
|
|
|
|
<div class="box-body">
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2016-12-27 12:03:47 -08:00
|
|
|
<div class="table-responsive">
|
2018-02-16 13:22:55 -08:00
|
|
|
|
2017-10-18 05:47:47 -07:00
|
|
|
<table
|
2018-02-16 13:22:55 -08:00
|
|
|
data-cookie-id-table="maintenancesReport"
|
|
|
|
data-pagination="true"
|
|
|
|
data-show-footer="true"
|
|
|
|
data-id-table="maintenancesReport"
|
|
|
|
data-search="true"
|
|
|
|
data-side-pagination="server"
|
|
|
|
data-show-columns="true"
|
|
|
|
data-show-export="true"
|
|
|
|
data-show-refresh="true"
|
|
|
|
data-sort-order="asc"
|
|
|
|
id="maintenancesReport"
|
2017-10-18 05:47:47 -07:00
|
|
|
data-url="{{route('api.maintenances.index') }}"
|
2018-02-16 13:22:55 -08:00
|
|
|
class="table table-striped snipe-table"
|
|
|
|
data-export-options='{
|
|
|
|
"fileName": "maintenance-report-{{ date('Y-m-d') }}",
|
|
|
|
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
|
|
|
|
}'>
|
2017-10-18 05:47:47 -07:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2020-09-08 18:14:21 -07:00
|
|
|
<th data-field="company" data-sortable="false" data-visible="false" data-formatter="companiesLinkObjFormatter">{{ trans('admin/companies/table.title') }}</th>
|
2017-10-18 05:47:47 -07:00
|
|
|
<th data-sortable="true" data-field="id" data-visible="false">{{ trans('general.id') }}</th>
|
2019-02-13 07:09:16 -08:00
|
|
|
<th data-sortable="true" data-field="asset_tag" data-formatter="assetTagLinkFormatter" data-visible="false">{{ trans('general.asset_tag') }}</th>
|
2019-01-25 20:57:14 -08:00
|
|
|
<th data-sortable="false" data-field="asset_name" data-formatter="assetNameLinkFormatter">{{ trans('admin/asset_maintenances/table.asset_name') }}</th>
|
2017-10-18 05:47:47 -07:00
|
|
|
<th data-sortable="false" data-field="supplier" data-formatter="suppliersLinkObjFormatter">{{ trans('general.supplier') }}</th>
|
|
|
|
<th data-searchable="true" data-sortable="true" data-field="asset_maintenance_type">{{ trans('admin/asset_maintenances/form.asset_maintenance_type') }}</th>
|
|
|
|
<th data-searchable="true" data-sortable="true" data-field="title">{{ trans('admin/asset_maintenances/form.title') }}</th>
|
|
|
|
<th data-searchable="true" data-sortable="false" data-field="start_date" data-formatter="dateDisplayFormatter">{{ trans('admin/asset_maintenances/form.start_date') }}</th>
|
|
|
|
<th data-searchable="true" data-sortable="true" data-field="completion_date" data-formatter="dateDisplayFormatter">{{ trans('admin/asset_maintenances/form.completion_date') }}</th>
|
|
|
|
<th data-searchable="true" data-sortable="true" data-field="asset_maintenance_time">{{ trans('admin/asset_maintenances/form.asset_maintenance_time') }}</th>
|
2017-10-18 06:24:36 -07:00
|
|
|
<th data-searchable="true" data-sortable="true" data-field="cost" class="text-right" data-footer-formatter="sumFormatter">{{ trans('admin/asset_maintenances/form.cost') }}</th>
|
2023-03-21 13:52:21 -07:00
|
|
|
<th data-sortable="true" data-field="location" data-formatter="deployedLocationFormatter" data-visible="false">{{ trans('general.location') }}</th>
|
|
|
|
<th data-sortable="true" data-field="rtd_location" data-formatter="deployedLocationFormatter" data-visible="false">{{ trans('admin/hardware/form.default_location') }}</th>
|
2023-08-14 05:01:32 -07:00
|
|
|
<th data-searchable="true" data-sortable="true" data-field="is_warranty" data-formatter="trueFalseFormatter">{{ trans('admin/asset_maintenances/table.is_warranty') }}</th>
|
2017-10-18 05:47:47 -07:00
|
|
|
<th data-searchable="true" data-sortable="true" data-field="user_id" data-formatter="usersLinkObjFormatter">{{ trans('general.admin') }}</th>
|
|
|
|
<th data-searchable="true" data-sortable="true" data-field="notes" data-visible="false">{{ trans('admin/asset_maintenances/form.notes') }}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</table>
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
</div>
|
2016-12-27 12:03:47 -08:00
|
|
|
</div>
|
2016-03-25 01:18:05 -07:00
|
|
|
</div>
|
|
|
|
</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
|