@extends('Core.Admin.Http.Views.layout', [
'title' => __('admin.title', [
'name' => __('admin.users.edit_title', [
'name' => $user->name,
]),
]),
])
@push('header')
@at('Core/Admin/Http/Views/assets/styles/pages/users.scss')
@at('Core/Admin/Http/Views/assets/styles/components/_tables.scss')
@endpush
@push('content')
@if (sizeof($user->actionLogs) > 0)
@t('admin.users.action_date') |
@t('admin.users.action') |
@t('admin.users.action_details') |
|
@foreach ($user->actionLogs as $key => $log)
{{ $log->actionDate->format(default_date_format()) }} |
{{ __('action.' . $log->action) }} |
{{ $log->details ?? '-' }} |
@if ($log->url)
@t('def.goto')
@endif
|
@endforeach
@endif
@if (sizeof($user->socialNetworks) > 0)
{{--
@t('admin.users.action') |
@t('admin.users.action_details') |
@t('admin.users.action_date') |
|
--}}
@foreach ($user->socialNetworks as $network)
{!! $network->socialNetwork->icon !!}
{{ $network->socialNetwork->key }}
|
{{ $network->name }}
|
@if ((bool) $network->hidden === true)
@else
@endif
|
@endforeach
@endif
@if (sizeof($user->invoices) > 0)
ID |
@t('admin.users.invoices.gateway') |
@t('admin.users.invoices.amount') |
@t('admin.users.invoices.promo') |
@t('admin.users.invoices.paid_at') |
@foreach ($user->invoices as $invoice)
{{ $invoice->transactionId }} |
{{ $invoice->gateway }} |
{{ $invoice->originalAmount . ' ' . $invoice->currency->code }} |
{{ $invoice->promoCode ? $invoice->promoCode->code : '-' }} |
{{ $invoice->paidAt->format(default_date_format()) }} |
@endforeach
@endif
@if (sizeof($user->userDevices) > 0)
@t('admin.users.device') |
IP |
@foreach ($user->userDevices as $devices)
{{ $devices->deviceDetails }} |
{{ $devices->ip }} |
@endforeach
@endif
@stack('admin-user::container')
@endpush
@push('footer')
@at('Core/Admin/Http/Views/assets/js/pages/users/edit.js')
@endpush