@extends('layouts.app') @section('title', 'Booking Details: ' . $booking->booking_no) @section('content')

Booking Details

Review the configured specifications for this job.

arrow_back Back to List

{{ $booking->job_name ?: 'Untitled Job' }}

tag {{ $booking->booking_no }} calendar_today {{ date('d M Y', strtotime($booking->booking_date)) }}
@php $statusColor = 'bg-amber-50 text-amber-700 border-amber-100'; if($booking->status == 'Confirmed') $statusColor = 'bg-emerald-50 text-emerald-700 border-emerald-100'; @endphp
{{ $booking->status }}
@php $item = $booking->items->first(); @endphp

Customer & Specifications

Customer
{{ $booking->customer?->name ?? $booking->customer_name }}
Mobile
{{ $booking->customer?->mobile ?? $booking->mobile }}
Address
{{ $booking->customer?->address ?? $booking->address ?? '-' }}
@if($item)
Category
{{ \App\Models\BookingCategory::find($item->category_id)?->name ?? 'Not Specified' }}
Print Paper Size
{{ \App\Models\PaperSize::find($item->paper_size_id)?->name ?? 'Not Specified' }}
Paper GSM
{{ \App\Models\PaperGsm::find($item->paper_gsm_id)?->name ?? 'Not Specified' }}
Print Type
{{ \App\Models\PrintType::find($item->print_type_id)?->name ?? 'Not Specified' }}
Lamination
{{ \App\Models\Lamination::find($item->lamination_id)?->name ?? 'NONE' }}
Lamination Side
{{ \App\Models\LaminationSide::find($item->lamination_side_id)?->name ?? 'NONE' }}
@if($item->carbon_copy || $item->bill_binding)
Carbon Copy
{{ $item->carbon_copy ?: '-' }}
Binding
{{ $item->bill_binding ?: '-' }}
@endif
Amount
₹{{ number_format($booking->grand_total, 2) }}
Total Print Quantity
{{ $item->quantity ?? $item->total_quantity ?? 0 }}
@else
No specifications found for this job.
@endif
@endsection