@extends('layouts.app') @section('title', 'Editar Sales Box') @section('content')
@csrf @method('PUT') @include('admin.sales-boxes._form', ['submitLabel' => 'Guardar alterações'])
@csrf
@forelse ($shareLinks as $l) @empty @endforelse
LinkQRDownloadsExpiraEstadoAções
/share/{{ Str::limit($l->token, 12, '…') }} QR {{ $l->download_count }}@if($l->max_downloads)/{{ $l->max_downloads }}@endif {{ optional($l->expires_at)->format('d/m/Y H:i') ?? '—' }} @if ($l->isActive()) Ativo @else Inativo @endif @if ($l->requiresPassword())🔒@endif
@if (! $l->revoked_at)
@csrf
@endif
@csrf @method('DELETE')
Ainda sem links. Gera o primeiro acima.
Aberturas{{ $openCount }}
Downloads{{ $downloadCount }}
Último acesso{{ $lastAccess ? \Illuminate\Support\Carbon::parse($lastAccess)->format('d/m/Y H:i') : '—' }}
@forelse ($activity as $a) @empty @endforelse
EventoConteúdoData/horaIP
{{ ['View' => 'Abertura', 'Download' => 'Download', 'PasswordFail' => 'Password incorreta'][$a->event_type] ?? $a->event_type }} {{ $a->material_title ?? '—' }} {{ \Illuminate\Support\Carbon::parse($a->occurred_at)->format('d/m/Y H:i') }} {{ $a->ip_address }}
Ainda sem interação.
@endsection