@if(!empty($receipt_details->repair_checklist_label) || !empty($receipt_details->checked_repair_checklist))

@if(!empty($receipt_details->repair_checklist_label)) design != 'classic') class="color-555" @endif> {!! $receipt_details->repair_checklist_label !!} @endif
@if(!empty($receipt_details->repair_checklist)) @php $checked_repair_checklist = json_decode($receipt_details->checked_repair_checklist, true); @endphp @endif
@foreach($receipt_details->repair_checklist as $check)
@if($checked_repair_checklist[$check] == 'yes') @elseif($checked_repair_checklist[$check] == 'no') @elseif($checked_repair_checklist[$check] == 'not_applicable') @endif design != 'classic') class="color-555" @endif> {{$check}}
@endforeach
@endif @if(!empty($receipt_details->defects_label) || !empty($receipt_details->repair_defects))

design != 'classic') class="color-555" @endif> @if(!empty($receipt_details->defects_label)) {!! $receipt_details->defects_label !!}
@endif @php $defects = json_decode($receipt_details->repair_defects, true); @endphp @if(!empty($defects)) @foreach($defects as $product_defect) {{$product_defect['value']}} @if(!$loop->last) {{','}} @endif @endforeach @endif

@endif