@extends('theme::layouts.app', ['alias' => 'AuctionHouse']) @section('theme::title', __('seo.auctionshouse.showitem', ['name' => $item->getItemInformation->name])) @section('theme::sidebar') @include('theme::frontend.account.auctionsidebar', ['filter_type' => $filter]) @endsection @section('theme::content')

{{ __('auctionshouse.showitem.title', ['name' => $item->getItemInformation->name]) }}

@if(session()->has('success')) @endif @if(session()->has('error')) @endif
@if($item->getItemInformation->amount > 0) {{ $item->getItemInformation->amount }} @endisset @isset($item->getItemInformation->special) @if($item->getItemInformation->special) @endif @endisset
@isset($item->getItemInformation->data) {!! $item->getItemInformation->data !!} @endisset
    @if($item->until < \Carbon\Carbon::now())
  • {{ __('auctionshouse.showitem.expired') }}
  • @endif
  • {{ __('auctionshouse.showitem.npc_price') }}

    {{ number_format($item->getItemInformation->npc_price, 0, ',', '.') }} {{ __('auctionshouse.showitem.gold') }}
  • {{ __('auctionshouse.showitem.bid') }} @if($item->bids > 0) {{ __('auctionshouse.showitem.current_bids', [ 'amount' => $item->bids ]) }} @endif @if($item->current_bid_user_id === Auth::user()->id) {{ __('auctionshouse.showitem.highest-user') }} @endif

    {{ number_format($item->price, 0, ',', '.') }} {{ __('auctionshouse.showitem.gold') }}
  • {{ __('auctionshouse.showitem.price_instead') }}

    {{ number_format($item->price_instead, 0, ',', '.') }} {{ __('auctionshouse.showitem.gold') }}
  • {{ __('auctionshouse.showitem.until') }}

    {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $item->until)->diffForHumans() }}
@if($item->user_id === Auth::user()->id)
{{ __('auctionshouse.showitem.own-item') }}
@else @if($item->current_bid_user_id !== Auth::user()->id)
@csrf
@endif
@if($item->price_instead !== 0)
@csrf
@endif @endif
@endsection @push('theme::javascript') @endpush