@extends('notifications.layout') @section('title', 'Inquiry'); @section('content') @foreach ($inquiry as $key => $value) @if ($key == 'extra_parameters' && is_array($value)) @foreach ($value as $k => $v) @include('notifications.cell', [ // 'label' => Str::kebab($key," "), 'label' => Str::of($k)->kebab(' ')->title(), 'value' => $v, ]) @endforeach @else @if ($value) @include('notifications.cell', [ // 'label' => Str::kebab($key," "), 'label' => Str::of($key)->kebab(' ')->title(), 'value' => $value, ]) @endif @endif @endforeach
@endsection