@extends('layouts.site') @section('content') @php $start_date= Session::get('start_date') ; $end_date= date('y-m-d', strtotime(Session::get('end_date'))); @endphp @php list($currency_code,$curr_symbol, $exchange_rate,$name,$slug,$detail)= getData(); @endphp

{{$price_now=(round($advertisment['discount_price']/$exchange_rate,2) ?? round($advertisment['price']/$exchange_rate,2)) }} {{$curr_symbol}} @if($advertisment -> discount_price) {{round($advertisment['price']/$exchange_rate,2) }} {{$curr_symbol}} @endif

  • {{ $advertisment->advertiser -> name }}
  • 30
  • Marce 9 , 2020
img
@isset($advertisment-> images) @foreach($advertisment-> images as $image)
img
@endforeach @endisset

{{__('Description')}}

{!! $advertisment-> details_ar !!}

{{__('Available Services')}}

@if($i == 0)
    @endif @foreach($advertisment_options as $advertisment_option) @if($advertisment_option!="") @php $option_all = \App\Models\Option::where('id', $advertisment_option) -> select('id','img','name_'.app()->getLocale() )->first(); $i++; @endphp
  • {{$option_all->$name}}
  • @if($i%3 == 0)
    @endif @endif @endforeach

{{__('Description')}}

@if( isset($ratings) && count($ratings) > 0 )

{{__('Comments')}}

@foreach($ratings as $rating)
@if(isset($rating->user->img)) @if( file_exists(realpath('assets/images/members/'.$rating->user->img))) img @else @endif @else @endif
{{$rating->user->name}}
{{date('d-m-Y',strtotime($rating->created_at))}}

{!! nl2br($rating->review )!!}

5 {{__('Rates')}}

{{--Start Rating--}} @for($i = 0; $i < 5; $i++) @endfor {{-- @for ($i = 0; $i < 5; $i++) @if ( $rating->rating_value - $i >= 1) @elseif ($rating->rating_value - $i > 0) @else @endif @endfor --}} {{--End Rating--}}
@endforeach @else

There is No reviews

@endif

{{__('Add Your Comment')}}

@php $date_now=date("Y-m-d"); $start_date=(Session::has('start_date')) ? Session::get('start_date') : $date_now ; $end_date=(Session::has('end_date')) ? Session::get('end_date') : $date_now ; @endphp
@include('front.includes.not-logged') @include('front.includes.alert') @include('front.includes.alert2') @stop @section('scripts') @stop