@extends('tenant.settings.general.all-general-settings')
@section('breadcrumb')
@include('tenant.layouts.breadcrumb', [
'items' => [
__('breadcrumb.general_settings') => route('tenant.settings.general.show-page', ['type' => 'company-information']),
__('breadcrumb.user_movements') => '#',
],
])
@endsection
@section('sidebar')
@include('tenant.layouts.sidebar', ['activeItem' => 'settings.general.actions-log'])
@endsection
@section('style')
@endsection
@section('settings-content')
@php $selected_emoloyees_ids = request('employees_ids')?? []; @endphp
@php $selected_modules = request('modules', []); @endphp
@php $selected_sections = request('sections', []); @endphp
@php $selected_functions = request('functions', []); @endphp
@lang('settings/general/actions-log.employees_actions')
@php
$table_options = [
'lang' => ['noAvailableData' => __('noAvailableData.no_data')],
];
@endphp
| # |
@lang('settings/general/actions-log.employee') |
@lang('settings/general/actions-log.transaction_') |
@lang('settings/general/actions-log.unit_') |
@lang('settings/general/actions-log.sections_') |
@lang('settings/general/actions-log.reference') |
@lang('settings/general/actions-log.date') |
@forelse ($actions as $action)
| {{ $loop->iteration }} |
{{ $action->employee->user_name }} |
{{ $action->function->name }} |
{{ $action->section->name }} |
{{ $action->module->name }} |
@if ($action->function_code === 'delete')
{!! __('settings/general/actions-log.number') . $action->resource_id ?? '---' !!}
|
@else
{!! $action->link ?? '---' !!} |
@endif
{{ $action->created_at->format('Y-m-d') }}
{{ $action->created_at->format('h:i A') }}
|
@empty
|
@lang('settings/general/actions-log.there_are_no_transactions_yet')
|
@endforelse
{!! $actions->links() !!}
@endsection
@push('script')
{{-- add the tom-select library to delete the multiple select options --}}
@endpush