@section("title", "BizMan | Edit Appointment")

{{ __('Edit Appointment') }}

{{ date('l, d M Y') }}

Edit Appointment

Update appointment details and team members

Back
@csrf @method('PUT')
@error('customer_id')

{{ $message }}

@enderror

Customer Information

Name

-

Company

-

Email

-

Phone

-

@error('title')

{{ $message }}

@enderror
@error('scheduled_at')

{{ $message }}

@enderror
@error('time')

{{ $message }}

@enderror
@error('duration')

{{ $message }}

@enderror
@php $currentMemberIds = old('members', $appointment->members->pluck('id')->toArray()); $currentUserAssigned = in_array(auth()->id(), $currentMemberIds); @endphp @if($currentUserAssigned)

You ({{ auth()->user()->name }}) are assigned to this appointment.

@else

⚠️ You are not currently assigned to this appointment.

@endif
@foreach($users as $user) @endforeach
@error('members')

{{ $message }}

@enderror
Selected Team Members:
@error('notes')

{{ $message }}

@enderror

Appointment Summary

Scheduled: -
Duration: {{ $appointment->duration }} minutes
Team Members: {{ $appointment->members->count() }}
Cancel
@push('scripts') @endpush