mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
55 lines
2.3 KiB
PHP
55 lines
2.3 KiB
PHP
|
@extends('layouts/default')
|
||
|
|
||
|
{{-- Page title --}}
|
||
|
@section('title')
|
||
|
Requested Assets
|
||
|
@stop
|
||
|
|
||
|
{{-- Account page content --}}
|
||
|
@section('content')
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
|
||
|
<div class="box box-default">
|
||
|
<div class="box-body">
|
||
|
|
||
|
<table
|
||
|
data-cookie-id-table="userRequests"
|
||
|
data-pagination="true"
|
||
|
data-id-table="userRequests"
|
||
|
data-side-pagination="server"
|
||
|
data-show-columns="true"
|
||
|
data-show-export="true"
|
||
|
data-show-refresh="true"
|
||
|
data-sort-order="desc"
|
||
|
id="userRequests"
|
||
|
class="table table-striped snipe-table"
|
||
|
data-url="{{ route('api.assets.requested') }}"
|
||
|
data-export-options='{
|
||
|
"fileName": "my-requested-assets-{{ date('Y-m-d') }}",
|
||
|
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
|
||
|
}'>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th class="col-md-1" data-field="image" data-formatter="imageFormatter">Image</th>
|
||
|
<th class="col-md-2" data-field="name">Item Name</th>
|
||
|
<th class="col-md-2" data-field="type">Type</th>
|
||
|
<th class="col-md-2" data-field="qty">{{ trans('general.qty') }}</th>
|
||
|
<th class="col-md-2" data-field="location">{{ trans('admin/hardware/table.location') }}</th>
|
||
|
<th class="col-md-2" data-field="expected_checkin" data-formatter="dateDisplayFormatter"> {{ trans('admin/hardware/form.expected_checkin') }}</th>
|
||
|
<th class="col-md-2" data-field="request_date" data-formatter="dateDisplayFormatter">Requested Date</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
</table>
|
||
|
|
||
|
</div> <!-- .box-body -->
|
||
|
</div> <!-- .box-default -->
|
||
|
</div> <!-- .col-md-9 -->
|
||
|
</div> <!-- .row-->
|
||
|
|
||
|
@stop
|
||
|
@section('moar_scripts')
|
||
|
@include ('partials.bootstrap-table')
|
||
|
@stop
|