@extends('dashboard.layout.mainlayout') @section('content')
{{-- advertisement Details --}}
@if($item->popular == '1') @lang('user.delete_popular') @else @lang('user.add_popular') @endif @if (App::isLocale('en')) @else @endif @if (app()->getlocale() == 'ar') @else @endif
# {{$item->id}}
@lang('user.name') {{$item->title}}
@lang('user.subcat_name') {{$item->Subcategory->name_en?? '----'}} {{$item->Subcategory->name_ar?? '----'}}
@lang('user.desc') {{$item->desc}}
@lang('user.type'){{$item->getType->name_ar?? '----'}}{{$item->getType->name_en?? '----'}}
@lang('user.price') {{$item->price}}
@lang('user.customerName') {{$item->user->name}}
@lang('user.phone') {{$item->user->phone}}
@lang('user.address') {{$item->address}}
@lang('user.status') @if ($item->finished == 1) @lang('user.finished') @else @lang('user.current') @endif
@lang('user.subscribe') @if ($item->user->subscription) @if ($item->user->subscription->remainder_ads > 0) @if (app()->getlocale()=='ar') {{$item->user->subscription->subscriptionName->name_ar ?? null}} @else {{$item->user->subscription->subscriptionName->name_en ?? null}} @endif @endif @else @endif
@lang('user.paymentWay') {{$item->payment_way}}
@lang('user.start_date') {{$item->start_date}}
@lang('user.end_date') {{$item->end_date}}
@endsection