@foreach ($this->statuses() as $st) @endforeach
@forelse ($orders as $order) @php $extra = $order->extra ?? []; $username = $extra['username'] ?? $order->link ?? '—'; $subMin = $extra['min'] ?? null; $subMax = $extra['max'] ?? null; $posts = $extra['posts'] ?? null; @endphp {{-- Report --}} {{-- Repeat --}} @empty @endforelse
{{ __('ID') }} {{ __('Service') }} {{ __('Profile') }} {{ __('Status') }} {{ __('Min / Max') }} {{ __('Posts') }} {{ __('Price') }} {{ __('Date') }} {{ __('Report') }} {{ __('Repeat') }}
{{ $order->id }}
{{ \Illuminate\Support\Str::limit($order->serviceName(), 38) }}
{{ $username }} @if($subMin && $subMax) {{ number_format($subMin) }} / {{ number_format($subMax) }} @else — @endif {{ $posts ? number_format($posts) : '—' }} {{ client_money($order->charge) }} {{ rf_date($order->created_at) }} @if ($order->service_id) @else — @endif
@if ($orders->hasPages())
{{ $orders->links() }}
@endif