2019-05-05 19:32:52 -07:00
|
|
|
@extends('layouts/default')
|
|
|
|
|
|
|
|
@section('title0')
|
|
|
|
|
2019-12-10 19:32:50 -08:00
|
|
|
@if ((Request::get('company_id')) && ($company))
|
2019-05-05 19:32:52 -07:00
|
|
|
{{ $company->name }}
|
|
|
|
@endif
|
|
|
|
|
|
|
|
{{ trans('general.audit_due') }}
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
{{-- Page title --}}
|
|
|
|
@section('title')
|
|
|
|
@yield('title0') @parent
|
|
|
|
@stop
|
|
|
|
|
|
|
|
|
|
|
|
{{-- Page content --}}
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-body">
|
2022-05-06 05:20:29 -07:00
|
|
|
|
|
|
|
@include('partials.asset-bulk-actions')
|
|
|
|
|
2019-05-05 19:32:52 -07:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
<table
|
|
|
|
data-click-to-select="true"
|
|
|
|
data-columns="{{ \App\Presenters\AssetAuditPresenter::dataTableLayout() }}"
|
|
|
|
data-cookie-id-table="assetsAuditListingTable"
|
|
|
|
data-pagination="true"
|
|
|
|
data-id-table="assetsAuditListingTable"
|
|
|
|
data-search="true"
|
|
|
|
data-side-pagination="server"
|
|
|
|
data-show-columns="true"
|
2022-06-14 17:54:18 -07:00
|
|
|
data-show-fullscreen="true"
|
2019-05-05 19:32:52 -07:00
|
|
|
data-show-export="true"
|
|
|
|
data-show-footer="true"
|
|
|
|
data-show-refresh="true"
|
|
|
|
data-sort-order="asc"
|
|
|
|
data-sort-name="name"
|
2022-06-05 21:03:56 -07:00
|
|
|
data-toolbar="#assetsBulkEditToolbar"
|
|
|
|
data-bulk-button-id="#bulkAssetEditButton"
|
|
|
|
data-bulk-form-id="#assetsBulkForm"
|
2019-05-05 19:32:52 -07:00
|
|
|
id="assetsAuditListingTable"
|
|
|
|
class="table table-striped snipe-table"
|
|
|
|
data-url="{{ route('api.asset.to-audit', ['audit' => 'due']) }}"
|
|
|
|
data-export-options='{
|
|
|
|
"fileName": "export-assets-due-audit-{{ date('Y-m-d') }}",
|
|
|
|
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
|
|
|
|
}'>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div><!-- /.col -->
|
|
|
|
</div><!-- /.row -->
|
|
|
|
{{ Form::close() }}
|
|
|
|
</div><!-- ./box-body -->
|
|
|
|
</div><!-- /.box -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('moar_scripts')
|
|
|
|
@include('partials.bootstrap-table')
|
|
|
|
|
|
|
|
@stop
|