@if ($auctions->count() > 0)
@foreach ($auctions as $auction) @php $auction_translation = $auction->auction->translations->where('language_id',getLocaleId())->first(); @endphp @endforeach
@lang('theme.auctions')
@lang('theme.auction'): {{ $auction_translation->title ?? $auction->auction->title }}
@lang('theme.date'): {{ $auction->date }}
@lang('theme.time'): {{ $auction->time }}
@lang('theme.store'): @if ($auction->auction->shop->name) {{ $auction->auction->shop->name }} @else @lang('theme.store_not_available') @endif
@lang('theme.status') @if($auction->status == 1) {{__('theme.certified')}} @else {{__('theme.uncertified')}} @endif
@lang('theme.quantity'): {{ $auction->auction->quantity }}
@lang('theme.amount_paid'): {{ get_formated_currency($auction->price, true, 2) }}
{!! Form::open(['route' => ['auction.remove', $auction->id], 'method' => 'delete', 'class' => 'data-form']) !!} {!! Form::close() !!} {{-- @lang('theme.cancel')--}} @if($auction->status == 1) @lang('theme.button.add_to_cart') {{-- @lang('theme.checkout')--}} @endif
@else

@lang('theme.no_order_history')
@lang('theme.button.shop_now')

@endif