@extends('layouts.contentLayoutMaster') @section('title', 'Edit Purchased Lead') @section('content')
@php $label = $type === 'mp' ? 'Mortgage Protection' : ($type === 'health' ? 'Health / Medicare' : 'Life'); @endphp
Edit {{ $label }} Lead
ID: #{{ $lead->id }} @if (!empty($lead->sla_due_at))  •  SLA Due: {{ optional($lead->sla_due_at)->format('Y-m-d H:i') }} @endif  •  Created: {{ optional($lead->created_at)->format('Y-m-d H:i') }} @if (!empty($lead->last_modified_at))  •  Last Updated: {{ optional($lead->last_modified_at)->format('Y-m-d H:i') }} @endif
{{-- Validation errors --}} @if ($errors->any())
Please fix the following:
    @foreach ($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif
@csrf @method('PUT')
{{-- Owner / Purchase / Status --}}
{{-- Notify owner on save --}}
{{-- Person --}}
{{-- Address --}}
{{-- MP-only extra fields --}} @if ($type === 'mp')
@endif
Cancel
{{-- Delete --}}
@csrf @method('DELETE')
@endsection