File: /var/www/vhost/disk-apps/dev-beg.teky.com.co/resources/views/logs/show.blade.php
@extends('layouts.master')
@section('page-css')
<link rel="stylesheet" href="{{ asset('assets/styles/vendor/datatables.min.css') }}">
@endsection
@section('main-content')
<div class="breadcrumb">
<h1> @lang('logs')</h1>
</div>
<div class="separator-breadcrumb border-top"></div>
<section class="contact-list">
<div class="row">
<div class="col-md-12 mb-4">
<div class="card text-left">
<div class="card-body">
<div class="table-responsive">
<table id="table-list" class="display table" style="width:100%">
<thead>
<tr>
<th>@lang('data')</th>
<th>@lang('module')</th>
<th>@lang('operation')</th>
<th>@lang('user')</th>
</tr>
</thead>
<tbody>
@foreach ($logs as $log)
<tr>
<td>{{ $log->data_operation }}</td>
<td>@lang($log->module->name)</td>
<td>{{ $log->operation->name }}</td>
<td>{{ $log->user->name }} {{ $log->user->last_name }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
@endsection
@section('page-js')
<script src="{{ asset('assets/js/vendor/datatables.min.js') }}"></script>
<script src="{{ asset('assets/js/tooltip.script.js') }}"></script>
<script src="{{ asset('js/views/logs.js') }}"></script>
@if (env('APP_LANGUAGE') == "es")
<script>
_table = $("#table-list").DataTable({
order: [],
language: {
url: "https://cdn.datatables.net/plug-ins/1.10.19/i18n/Spanish.json"
}
});
</script>
@endif
<script>
$('#table-list').DataTable();
</script>
@endsection