{{ $seller->seller_code }} @if ($seller->company_name){{ $seller->company_name }}@endif @if (auth()->user()->hasMultipleOrganizations())· {{ $seller->organization?->name }}@endif
@can('delete', $seller) @unless ($hasReferences) Delete @endunless @endcan @can('update', $seller) {{ $seller->isActive() ? 'Deactivate' : 'Activate' }} Edit @endcan
@forelse ($recentOrders as $order) @empty @endforelse
Work orderCustomerVendor / packageDeadlineStatus
{{ $order->work_order_number }} {{ $order->customer?->displayName() }}

{{ $order->vendor_name_snapshot }}

{{ $order->package_name_snapshot }}

{{ format_date($order->deadline_date) }}
@foreach (['Vendor distribution' => $vendorDistribution, 'Package distribution' => $packageDistribution] as $heading => $distribution) @php($max = max(1, (int) $distribution->max()))
    @forelse ($distribution as $label => $total)
  • {{ $label }}{{ $total }}
  • @empty
  • No work orders yet.
  • @endforelse
@endforeach
{{ format_phone($seller->phone) }}@if ($seller->alternate_phone)Alt: {{ format_phone($seller->alternate_phone) }}@endif @if ($seller->address_line1){{ $seller->address_line1 }}@if ($seller->address_line2)
{{ $seller->address_line2 }}@endif
{{ trim($seller->city.', '.$seller->state.' '.$seller->zip, ', ') }}@else—@endif
@if ($seller->user)

{{ $seller->user->name }}

{{ $seller->user->email }}

Last sign-in: {{ $seller->user->last_login_at ? format_datetime($seller->user->last_login_at) : 'never' }}

@can('update', $seller->user) Manage login @endcan @else

This seller has no portal login. Logins are optional; an administrator can create one under Users with the Seller role.

@can('create', \App\Models\User::class) Create login @endcan @endif
@if ($seller->notes)

{{ $seller->notes }}

@endif