@extends('layouts.admin', [ 'title' => "Item: {$item->name}" ]) @section('content')

Thumbnail

Item Info

Creation Date:
{{ $item->created_at->format('M d, Y') }}
Last Updated:
{{ $item->updated_at->format('M d, Y') }}
Owners:
{{ number_format($item->owners()->count()) }}
Price
{!! ($item->status == 'approved') ? ' ' . number_format($item->price) : 'Off Sale' !!}
Is Public
{{ ($item->public_view) ? 'Yes' : 'No' }}
Status
{{ ucfirst($item->status) }}
@csrf

Actions

@if (staffUser()->staff('can_review_pending_assets')) @endif @if ((staffUser()->staff('can_edit_item_info') || $item->creator->id == staffUser()->id) && !in_array($item->type, ['tshirt', 'shirt', 'pants'])) Edit @endif @if (staffUser()->staff('can_render_thumbnails')) @endif
@endsection