@extends('crm.layouts.app') @section('title', 'Body Map ยท '.($appointment->client?->name ?? 'Appointment')) @section('content')
← Body map

Placement

{{ $appointment->client?->name ?? 'Unknown client' }} · {{ $appointment->scheduled_at?->format('M j, Y \a\t g:i A') }}

Marked areas

    @forelse($appointment->bodyParts as $part)
  • {{ $part->label ?? $part->name }}

    @if($part->pivot?->notes)

    {{ $part->pivot->notes }}

    @endif
    @if($part->pivot?->status) {{ ucfirst($part->pivot->status) }} @endif
    @if($part->pivot?->photo_path) {{ $part->label ?? $part->name }} @endif
  • @empty
  • No placement recorded

    Mark body areas from the appointment to see them here.

  • @endforelse

Session photos

@if($appointment->images->isNotEmpty())
@foreach($appointment->images as $image)
{{ $image->type }}
{{ ucfirst(str_replace('_', ' ', $image->type)) }}
@endforeach
@else

None uploaded.

@endif
@endsection