@php $auction_translation = $auction->translations->where('language_id',getLocaleId())->first(); @endphp {{ Str::limit(($auction_translation->title ?? $auction->title),50) }} @if($auction->end_date < \Carbon\Carbon::now())
{{ trans('app.deadline_expired') }} @endif @unless($auction->active)
{{ trans('app.inactive') }} @endunless @if($auction->bids()->where('status',1)->where('verification',1)->first())
{{ trans('app.sold') }} @elseif($auction->bids()->where('status',1)->first())
{{ trans('app.awaiting_payment') }} @endif