@extends('admin.layouts.app') @section('title') {{ __('edit') }} @endsection @php $on_description =!empty($leads->description)? json_decode($leads->description):[]; @endphp @section('content')

{{ __('edit') }}

  {{ __('back') }} {{-- --}}
@method('PUT') @csrf
@error('name') {{ $message }} @enderror
@error('email') {{ $message }} @enderror
@error('user_id') {{ $message }} @enderror
{{-- --}} @error('country_id') {{ $message }} @enderror
@error('phone') {{ $message }} @enderror
@error('source') {{ $message }} @enderror
{{--
@error('description') {{ $message }} @enderror
--}} {{-- @if(!empty($on_description))

{{ __('description') }}

@foreach($on_description as $key => $des)
@endforeach
@endif --}}
@error('url') {{ $message }} @enderror
@if(!empty($on_description)) @foreach($on_description as $key => $des) {{--
--}} @if($key == "date")
@else
@endif @endforeach @endif {{--
--}}
{{-- follow up model --}} {{-- follow up model end --}} {{-- {{$followups}} --}} {{-- follow up --}} {{--

Follow up list

@forelse ($followups as $followup) @empty @endforelse
Comment Type Followup Date & Time
{{ $followup->comment }} {{ $followup->type }} {{ $followup->followup_up }} @php $dateString = $followup->datetime; $date = new DateTime($dateString); $formattedDate = $date->format('d-M-Y H:i a'); @endphp {{ $formattedDate }}

{{ __('no_data_found') }}...

--}} {{-- Follow up End --}}
@endsection @section('style') @endsection @section('script') @endsection