mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-19 20:14:09 -08:00
296de34e8a
I'm going ahead and merging this, since the upgrade doesn't break Flysystem any worse than the current develop is broken, so far as I can tell. * Upgraded framework to Laravel 6 ### TO DO: - Fix password restriction rules- the old library isn’t compatible with Laravel 6 :( - Figure out why in-app API calls are returning “Unauthorized” * More updates from Input:: to Request:: helper * Switch to Request:: from Input * Added passport config * Fixed goofy password minimum in seeder * Added laravel/helpers * Changed ($item) to ($item->id) in forms I have no idea why this is necessary * Changed ($item) to ($item->id) in forms * Updated API middleware to auth:api * Updated with added laravel auth.php values * FIxed *&!^$%^&$^%!!!! ajax issue * Switch to Request::get from Input::get * Switched to Request facade * Added password security minimums back in The package we were using has not been updated to Laravel v6, so I created custom validators instead * Added language strings for error messages for password rules * Fixed `($item)` issue in formActions for partials
71 lines
2.5 KiB
PHP
71 lines
2.5 KiB
PHP
@extends('layouts/default')
|
|
|
|
@section('title0')
|
|
|
|
@if ((Request::get('company_id')) && ($company))
|
|
{{ $company->name }}
|
|
@endif
|
|
|
|
{{ trans('general.audit_overdue') }}
|
|
|
|
@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">
|
|
{{ Form::open([
|
|
'method' => 'POST',
|
|
'route' => ['hardware/bulkedit'],
|
|
'class' => 'form-inline',
|
|
'id' => 'bulkForm']) }}
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
|
|
<table
|
|
data-click-to-select="true"
|
|
data-columns="{{ \App\Presenters\AssetAuditPresenter::dataTableLayout() }}"
|
|
data-cookie-id-table="assetsOverdueAuditListingTable"
|
|
data-pagination="true"
|
|
data-id-table="assetsOverdueAuditListingTable"
|
|
data-search="true"
|
|
data-side-pagination="server"
|
|
data-show-columns="true"
|
|
data-show-export="true"
|
|
data-show-footer="true"
|
|
data-show-refresh="true"
|
|
data-sort-order="asc"
|
|
data-sort-name="name"
|
|
data-toolbar="#toolbar"
|
|
id="assetsAuditListingTable"
|
|
class="table table-striped snipe-table"
|
|
data-url="{{ route('api.asset.to-audit', ['audit' => 'overdue']) }}"
|
|
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
|