@extends('crm.layouts.app') @section('title', 'Client Profile') @section('content')
Client profile and appointment history
{{ $client->notes }}
{{ $photos->count() }} {{ Str::plural('photo', $photos->count()) }}
{{ $photo->healing_stage_date->format('M d, Y') }}
@endif @if($photo->notes){{ $photo->notes }}
@endif| Date | Status | Body Parts | Price | Tip | Total | Actions |
|---|---|---|---|---|---|---|
| {{ $appointment->scheduled_at->format('M d, Y g:i A') }} | @php $statusColors = [ 'pending' => 'bg-yellow-50 text-yellow-700 ring-yellow-600/20', 'confirmed' => 'bg-blue-50 text-blue-700 ring-blue-600/20', 'completed' => 'bg-green-50 text-green-700 ring-green-600/20', 'cancelled' => 'bg-red-50 text-red-700 ring-red-600/20', ]; @endphp {{ ucfirst($appointment->status) }} |
@if($appointment->bodyParts->count() > 0)
@foreach($appointment->bodyParts->take(3) as $bodyPart)
{{ $bodyPart->label }}{{ !$loop->last ? ',' : '' }}
@endforeach
@if($appointment->bodyParts->count() > 3)
+{{ $appointment->bodyParts->count() - 3 }} more
@endif
@else
Not specified
@endif
|
@if($appointment->price) ${{ number_format($appointment->price, 2) }} @else - @endif | @if($appointment->tip_amount) ${{ number_format($appointment->tip_amount, 2) }} @else - @endif | ${{ number_format(($appointment->price ?? 0) + ($appointment->tip_amount ?? 0), 2) }} | Edit |
Analyzing patterns...