@livewire('offer-train-component',['offer' => $offer , 'component_name' => 'offer-show', 'offer_id' => $offer->id])

{{__('messages.Offer')}} {{ $offer->name}}

{{__('messages.Full details of offer.')}}

@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif
@livewire('copy-offer-details-component',['offer' => $offer ])
{{__('messages.Name')}}
{{$offer->name}}
{{__('messages.Start Date')}}
{{ $offer->start_date}}
{{__('messages.End Date')}}
{{ $offer->end_date}}
{{__('messages.Activate')}}
@if($offer->activate == 1) @else @endif
{{__('messages.include_tax')}}
@if($offer->include_tax == 1) @else @endif
{{__('messages.Amount')}}
{{ ($offer->amount) ? $offer->amount . " " . $offer->currency->name : '-' }}
@if ($offer->model_id)

Especially for {{$offer->model->name}}

@endif
{{__('messages.Updated At')}}
{{ $offer->updated_at}}
{{__('messages.Updated By')}}
{{($offer->last_updated_by_user)?$offer->last_updated_by_user->name:"-"}}
{{__('messages.Created At')}}
{{ $offer->created_at}}
{{trans_choice('messages.currency' , 0 )}}
{{ $offer->currency->name}}
{{__('messages.comment')}}
{{ $offer->comment}}

{{__('messages.Offer Products of offer')}} {{ $offer->name}}

# {{__('messages.Product')}} {{__('messages.Price')}} {{__('messages.Created At')}} {{__('messages.Updated By')}} @forelse ($offer_products as $offer_product) {{$loop->iteration}} {{(\App\Models\Product::find($offer_product->product_id))?\App\Models\Product::find($offer_product->product_id)->name:"-"}} {{ $offer_product->price}} {{$offer_product->created_at}} {{($offer_product->last_updated_by_user)?$offer_product->last_updated_by_user->name:"-"}} @empty {{__('messages.Empty Result')}} @endforelse {{$offer_products->links()}}