@extends('admin.layouts.master') @section('ads', 'active') @section('title') {{ $data['title'] ?? '' }} @endsection @push('style') @endpush @php $ads = $data['ads']; $categories = $data['categories']; $subcategories = $data['subcategories']; $regions = $data['regions']; $brands = $data['brands']; @endphp @section('content')

{{ $data['title'] ?? '' }}

Edit Ads

@if (Auth::user()->can('admin.ads.view')) Back @endif
@csrf
@error('title') {{$message}} @enderror
@error('subcategory_id') {{$message}} @enderror
@error('region') {{$message}} @enderror
@error('city_id') {{$message}} @enderror
{!! $errors->first('address', '') !!}
@if($ads?->category_id != '4' && $ads?->category_id != '14' )
{{$setting->currency_symbol}} @error('price') {{$message}} @enderror
negotiable == '1' ? 'checked' : '' }}>
@endif
@includeWhen($ads->category_slug == "vehicles",'user.ads.partials.edit.vehicles') @includeWhen($ads->category_slug == "property",'user.ads.partials.edit.property') @includeWhen($ads->category_slug == "education",'user.ads.partials.edit.education') @includeWhen($ads->category_slug == "jobs",'user.ads.partials.edit.job') @includeWhen($ads->category_slug == "service",'user.ads.partials.edit.service') @includeWhen($ads->category_slug == "mens-fashion-grooming" || $ads->category_slug == "womens-fashion-beauty",'user.ads.partials.edit.fashion') @includeWhen($ads->category_slug == "electronics" || $ads->category_slug == "mobiles",'user.ads.partials.edit.electronics')
@error('description') {{$message}} @enderror

{!! $errors->first('thumbnail', '') !!}

Add up to 5 photos

You must upload at least one photo, Preferred image size 830x520px, 2MB


Status and Verification


Contact details

+233

Seo Info


featured == '1' ? 'checked' : '' }} id="defaultCheck1">
{{--

Mark as Featured {{$setting?->currency_symbol}} 17.00

--}}
@endsection @push('script') @if($ads->city_id) @endif @endpush