@if ($property->is_auction)

{{ __('site.auction') }}

@if(!empty($property->auction->auction_date))

{{ $property->auction->auction_date }}

@endif @if(!empty($property->auction->auction_location))

{{ $property->auction->auction_location }}

@endif @if(!empty($property->auction->auction_insurance_number))

{{ $property->auction->auction_insurance_number }}

@endif @if(!empty($property->auction->auction_other_expense))

{{ $property->auction->auction_other_expense }}

@endif @if(!empty($property->auction->brochure))

@lang('site.download')

@endif @if ($property->auction->auction_date > now()->addDays(1))

@lang('site.apply')

@endif @if ($conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book))

@lang('site.download')

@endif @if ($conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now())

@lang('site.Enter_Auction')

@endif @if ($conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id',$property->auction->id)->orderBy('price','desc')->first(); if(!empty($highestBid)) $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; else $auction_user_id = 0; @endphp

🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')

@endif
@endif