@props(['inspections' => []]) {{-- {{ dd($attributes->all()) }} --}}
@isset($inspections['type_of_inspection']) @foreach (json_decode($inspections['type_of_inspection'], true) as $inspection)
@endforeach @endisset @empty($inspections['type_of_inspection'])
@endempty
{{-- this section for edit form --}} @isset($inspections['inspection_counter_offer']) @foreach ( json_decode($inspections['inspection_counter_offer'], true) as $offer)
Counter Offer
@endforeach @endisset {{-- this section for add form --}} @empty($inspections['inspection_counter_offer'])
Counter Offer
@endempty
{{-- Common section for Seller Accept and Counter offer Accepted --}} {{-- Show this section immediately for Seller Accept, and on click of "Counter offer Accepted" in seller counter --}}