@php if(isset($ad->module_id) && $ad->module_id == 1) { $module_folder = 'business'; } if(isset($ad->module_id) && $ad->module_id == 2) { $module_folder = 'home-business'; } if(isset($ad->module_id) && $ad->module_id == 3) { $module_folder = 'non-profit'; } @endphp
@csrf()

1. Ad Details

@if($module->id == 1 || $module->id == 2)
@endif

2. Contact Info

3. Locations

4. Working Hours

5. Social Links

6. Overview

@if( isset( $ad->overview_image ) && $ad->module_id == $module->id ) @endif
Select Overview image Change Remove

7. Gallery

8. Others

@if( isset( $ad->featured_image ) && $ad->module_id == $module->id ) @endif
Select Featured Image or Logo Change Remove

9. Promote Your Ad (Please select your package)

@if( isset( $adSettings ) && count( $adSettings ) ) @foreach( $adSettings as $keyy => $adS ) @if( $module->id == $adS->module_id ) @endif @endforeach @endif
module_id == $module->id && $ad->promote_ad_type ? $ad->promote_ad_type : '' ) == $adS->id ? 'checked' : ''}}>
0
@if( isset($ad->gallery) && count($ad->gallery) >0 ) @php $images = []; // dump($ad->gallery); @endphp @foreach($ad->gallery as $buskey => $busgallery) @php $images[] = [ 'id' => $busgallery->image, 'src' => asset($module_folder.'-gallery/'.$busgallery->image) ]; @endphp @endforeach @endif @section('head-css') @endsection @section('scripts') @endsection