@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
@if( isset($ad->gallery) && count($ad->gallery) >0 ) @php $images = []; @endphp @foreach($ad->gallery as $buskey => $busgallery) @php $images[] = [ 'id' => $busgallery->id, 'src' => asset($module_folder.'-gallery/'.$busgallery->image) ]; @endphp @endforeach @endif @section('head-css') @endsection @section('scripts') @endsection