@extends('layouts.admin') @section('title', 'Jadwal Fitting Studio') @section('page_title', 'Jadwal Reservasi Fitting Studio') @section('content')
Kelola jadwal fitting customer di Studio dengan slot waktu dinamis (dapat diatur di Pengaturan) dan verifikasi deposit slot.
| Kode & Waktu Masuk | Customer | Jadwal Sesi | Deposit Slot | Staff PIC (Input) | Gaun / Preferensi | Acara & Catatan | Status | Aksi |
|---|---|---|---|---|---|---|---|---|
|
{{ $app->booking_code }}
@if($isNewToday)
BARU HARI INI
@elseif($isRecent)
BARU MASUK
@endif
Masuk: {{ $app->created_at->format('d/m/y H:i') }}
({{ $app->created_at->diffForHumans() }})
@if($app->fitting_type === 'post_booking')
Final Fitting
@if($app->order_number)
Order: {{ $app->order_number }}
@endif
@else
Konsultasi Studio
@endif
|
{{ $app->customer_name }}
{{ $app->number_of_guests }} Tamu
|
{{ $app->appointment_date->format('d/m/Y') }}
{{ $app->time_slot }} WIB
|
{{ $app->formatted_deposit_fee }}
@php
$badge = $app->payment_status_badge;
@endphp
{{ $badge['label'] }}
@if($app->payment_status === 'unpaid' && !$app->isPaymentExpired() && $app->deposit_fee > 0)
Batas: {{ $app->payment_deadline ? $app->payment_deadline->format('H:i') : '-' }} WIB
@endif
@if($app->payment_proof)
@endif
@if($app->payment_sender_name)
{{ $app->payment_sender_name }}
@endif
@if($app->payment_status !== 'paid')
@endif
|
@if($app->staff_name || $app->staff)
{{ strtoupper(substr($app->staff_name ?? $app->staff?->name ?? 'S', 0, 1)) }}
{{ $app->staff_name ?? $app->staff?->name }}
@if($app->isDealt())
Deal: +Rp {{ number_format($app->bonus_rate ?? 5000, 0, ',', '.') }}
@elseif(in_array($app->status, ['cancelled', 'no_show']))
Bonus: Rp 0
@else
+Rp 5rb (Saat Deal)
@endif
Belum Ada PIC
@endif
|
@if(!empty($app->dresses_requested))
@foreach($app->dresses_requested as $dCode)
{{ $dCode }}
@endforeach
@endif
@if($app->preferred_size || $app->preferred_style)
Size: {{ $app->preferred_size ?? '-' }} • Style: {{ $app->preferred_style ?? '-' }}
@elseif(empty($app->dresses_requested))
Pilih di rak studio
@endif
|
@if($app->occasion_event)
{{ $app->occasion_event }}
@endif
@if($app->notes)
{{ $app->notes }}
@endif
|
@php $badgeColor = match($app->status) { 'scheduled' => 'bg-primary-subtle text-primary border-primary-subtle', 'attended' => 'bg-info-subtle text-info border-info-subtle', 'converted_to_rental' => 'bg-success-subtle text-success border-success-subtle', 'no_show' => 'bg-warning-subtle text-warning border-warning-subtle', 'cancelled' => 'bg-danger-subtle text-danger border-danger-subtle', default => 'bg-secondary-subtle text-secondary', }; @endphp {{ ucfirst(str_replace('_', ' ', $app->status)) }} @if($app->order_number) @endif |
@if($app->dressStatusLogs && $app->dressStatusLogs->count() > 0)
@foreach($app->dressStatusLogs as $dsLog)
{{ $dsLog->dress->code ?? 'Gaun' }}: Penjahit
@endforeach
@endif
|
| Belum ada data jadwal fitting. | ||||||||