@php $auction_translation = $auction->translations->where('language_id',getLocaleId())->first(); $auction_category_translation = $auction->category->translations->where('language_id',getLocaleId())->first(); @endphp
| {{ trans('app.name') }}: | {{ $auction_translation->title ?? $auction->title }} |
|---|---|
| {{ trans('app.vendor') }}: | {{ $auction->vendor->name }} |
| {{ trans('app.status') }}: | {{ $auction->active ? trans('app.active') : trans('app.inactive') }} |
| {{ trans('app.quantity') }}: | {{ $auction->quantity }} |
| {{ trans('app.start_date') }}: | {{ $auction->start_date }} |
| {{ trans('app.end_date') }}: | {{ $auction->end_date }} |
| {{ trans('app.category') }}: | {{ $auction_category_translation->name ?? $auction->category->name }} |
|---|---|
| {{ trans('app.start_price') }}: | {{ get_formated_currency($auction->start_price, 2) }} |
{{ trans('app.description_not_available') }}
@endif