@extends('layouts.app') @section('title') @if( ! empty($title)) {{ $title }} | @endif @parent @endsection @section('content')
@include('admin.sidebar_menu')
@if( ! empty($title))

{{ $title }}

@endif @include('admin.flash_msg')
@if($ads->total() > 0) @foreach($ads as $ad) @endforeach
{{ safe_output($ad->title) }} ({!! $ad->status_context() !!})

{!! $ad->full_address() !!}
{{ $ad->posting_datetime() }}

@lang('app.reports') : {{ $ad->reports->count() }}
@if($ad->category_type== 'auction') {{$ad->bids->count()}} @endif @if($ad->category_type== 'jobs') {{$ad->applicants->count()}} @endif @if($ad->status ==1) @else @endif
@else

@lang('app.there_is_no_ads')

@endif {!! $ads->links() !!}
@endsection @section('page-js') @endsection