@php $image = $row->images()->first(); @endphp {{$row->type == 'direct' ? trans('site.direct_auction') : trans('site.normalAuction')}}
{{$row->title}} #{{$row->code}} {{-- @lang('site.auctionStartAt')--}} @if($row->end_date <= \Carbon\Carbon::now()) تم انتهاء المزاد @elseif($row->date <= \Carbon\Carbon::now() && $row->end_date > \Carbon\Carbon::now()) تم بدأ المزاد @else @endif @lang('site.city') : {{get_city($row->city_id)}} @if(Auth::check()) @if($row->user_id == Auth::user()->id) @if($row->price) @lang('site.soldTo') : {{$row->price. ' ريال'}} @else @lang('site.notSoldYet') @endif @endif @endif @lang('site.bidders') : {{$row->bids()->count()}} @lang('site.watches'): {{$row->watches()->count()}} @if($row->end_date <= \Carbon\Carbon::now()) @lang('site.soldTo'): @else @lang('site.priceNow'): @endif @if($row->price) {{$row->price ." ".Lang::get('site.ryal')}} @else {{ getLastAuctionPrice($row->id)}} @endif