@extends('layouts.app') @section('title', 'Edit Full Week Schedule') @section('page-title', 'Edit Full Week Schedule - ' . $targetUser->name) @section('styles') @endsection @section('content')
Editing Full Week Schedule for {{ $targetUser->name }} Week {{ $weekNumber }}, {{ $year }}
@csrf @foreach($days as $index => $day) @php $dayData = $weekData[$day]; $clients = $dayData['clients']; $notes = $dayData['notes']; @endphp
{{ ucfirst($day) }} @if($dayData['status'] == 'submitted') Submitted @elseif($dayData['status'] == 'approved') Approved @endif
@if(count($clients) > 0) @foreach($clients as $clientIdx => $client)
{{ $clientIdx + 1 }}.
@endforeach @endif
@endforeach
Cancel
@push('scripts') @endpush @endsection