3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-02 22:54:24 +00:00
Files
snipe-it/resources/views/reports/activity.blade.php
2025-06-17 14:25:02 +01:00

52 lines
1.6 KiB
PHP

@extends('layouts/default')
{{-- Page title --}}
@section('title')
{{ trans('general.activity_report') }}
@parent
@stop
@section('header_right')
<form method="POST" action="{{ route('reports.activity.post') }}" accept-charset="UTF-8" class="form-horizontal">
{{csrf_field()}}
<button type="submit" class="btn btn-default">
<x-icon type="download" />
{{ trans('general.download_all') }}
</button>
</form>
@stop
{{-- Page content --}}
@section('content')
<div class="row">
<div class="col-md-12">
<div class="box box-default">
<div class="box-body">
<table
data-columns="{{ \App\Presenters\HistoryPresenter::dataTableLayout($serial = true) }}"
data-cookie-id-table="activityReport"
data-id-table="activityReport"
data-side-pagination="server"
data-sort-order="desc"
data-sort-name="created_at"
id="activityReport"
data-url="{{ route('api.activity.index') }}"
class="table table-striped snipe-table"
data-export-options='{
"fileName": "activity-report-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
}'>
</table>
</div>
</div>
</div>
</div>
@stop
@section('moar_scripts')
@include ('partials.bootstrap-table', ['exportFile' => 'activity-export', 'search' => true])
@stop