@include('statistics')

{{ __('messages.ad_title_info', ['number' => $wagonRental->id]) }}

@if ($wagonRental->user->company) @endif
{{ __('messages.author') }}
{{ $wagonRental->user->name }}
{{ __('messages.fields.email') }}
{{ $wagonRental->user->email }}
{{ __('messages.number_wagons') }}
{{ $wagonRental->quantity }}
@if ($wagonRental->wagonType)
{{ __('messages.fields.wagon_type') }}
{{ $wagonRental->wagonType->name ?? __('messages.not_set') }} @if($wagonRental->wagonType && $wagonRental->wagonType->specifications->isNotEmpty() && $wagonRental->wagonSpecification) ({{$wagonRental->wagonSpecification->full_name }})@else @endif
@endif
{{ __('messages.fields.comment') }}
{{ $wagonRental->comment ?? __('messages.not_set') }}
{{ __('Offer type') }}
{{ $wagonRental->rentalType->name }}
{{ __('messages.fields.created_at') }}
{{ Carbon\Carbon::parse($wagonRental->created_at)->format('d.m.Y H:i') }}
{{ __('messages.fields.bid') }}
@if ($wagonRental->bid) {{ $wagonRental->bid ?? '' }} {{ $wagonRental->currency->symbol ?? '' }} @else {{ __('messages.not_specified') }} @endif
{{ __('messages.fields.views_title') }}
{{ $viewsCount }}
@if (Auth::user()->id != $wagonRental->user->id)
{{ __('Write a message to author') }}
@endif