@if ($request->request_owner) @if ($request->request_owner->agent->id)
@if ($request->request_owner->agent->id) {{ $request->request_owner->agent->username ?? 'image' }} @endif @if ($request->request_owner->agent->id) {{ $request->request_owner->agent->username }} @endif
@php $mon = ''; $priceTypeFrom = 'price_buy_from'; $priceTypeTo = 'price_buy_to'; if ($request->property_for == 'Rent') { if (LaravelLocalization::getCurrentLocale() == 'en') { $mon = '/month'; } if (LaravelLocalization::getCurrentLocale() == 'ar') { $mon = '/شهر'; } $priceTypeFrom = 'price_rent_from'; $priceTypeTo = 'price_rent_to'; } if ($request->property_for == 'للايجار') { if (LaravelLocalization::getCurrentLocale() == 'en') { $mon = '/month'; } if (LaravelLocalization::getCurrentLocale() == 'ar') { $mon = '/شهر'; } $priceTypeFrom = 'price_rent_from'; $priceTypeTo = 'price_rent_to'; } if ($request->property_for == 'Buy & Rent' && $request->demandPropertyTypes[0]->$priceTypeFrom == null) { if (LaravelLocalization::getCurrentLocale() == 'en') { $mon = '/month'; } if (LaravelLocalization::getCurrentLocale() == 'ar') { $mon = '/شهر'; } $priceTypeFrom = 'price_rent_from'; $priceTypeTo = 'price_rent_to'; } if ($request->property_for == 'Rent') { $request_for = 'Rent'; } else { $request_for = 'Buy'; } @endphp @lang('site.WhatsAppMe') @lang('site.Email')
@endif @endif