@switch($order->type) @case('time') {{ $order->appointment_time->format('Y-m-d h:i a') }} @break @case('day') {{ $order->start_date }} -- {{ $order->end_date }} @break @case('ticket') {{ $order->start_date }} @break @endswitch