@extends('layouts.app') @section('title', __('Logs')) @section('sidebar') @include('partials/sidebar_menu_toggle') @endsection @section('content')
{{ csrf_field() }}
{{ __('Log Records') }} @if ($current_name != App\ActivityLog::NAME_OUT_EMAILS)  @endif
{{ App\User::dateFormat(new Illuminate\Support\Carbon()) }}
@if (count($logs)) @foreach ($cols as $col) @endforeach @foreach ($logs as $row) @foreach ($cols as $col) @endforeach @endforeach
{{ App\ActivityLog::formatColTitle($col) }}
@if (isset($row[$col])) @if ($col == 'user' || $col == 'customer') {{ $row[$col]->getFullName(true) }} @elseif ($col == 'date') {{ App\User::dateFormat(new Illuminate\Support\Carbon($row[$col]), 'M j, H:i:s') }} @elseif (is_object($row[$col]) && get_class($row[$col]) == 'App\Thread') #{{ $row[$col]->conversation->number }} @else {{ $row[$col] }} @endif @else   @endif
{{ $activities->links() }} @else @include('partials/empty', ['empty_text' => __('Log is empty')]) @endif
@endsection @section('stylesheets') @endsection @section('javascripts') @endsection @section('javascript') @parent logsInit(); @endsection