@extends('layouts.app') @push('styles') @endpush @section('title') @lang('translate.adds') @endsection @section('page_header') @endsection @section('content')

{{$add->title}}

{{$add->description}}
@foreach($attribute_values as $values) @if($values['type'] != 'multi_select') @if($values['type'] == 'single_select') @else @endif @endif @endforeach
{{$values['key'] ?? ""}} @php $attr_value = \App\Models\AttributeValue::find($values['values']); $attr_value_data = $attr_value?->value; @endphp {{$attr_value_data}}
{{$values['key'] ?? ""}} {{$values['values'] ?? ""}}
@foreach($attribute_values as $values) @if($values['type'] == 'multi_select')
{{$values['key']}}
@php $attr_values_multi = \App\Models\AttributeValue::whereIn('id',explode(',' , $values['values']))->get(); @endphp @foreach($attr_values_multi as $multi)
  • {{$multi->value}}
@endforeach
@endif @endforeach
About the author
{{$add?->User?->fullname}}

{{$add?->User?->email}}

{{$add?->User?->phone}}

@endsection @push('scripts') @include('adds.script') @endpush