@extends('layouts.app') @section('content')
Bus Hire Details
Back
Customer Information
{{ $bushire->name ?: '-' }}
{{ $bushire->phone ?: '-' }}
{{ $bushire->email ?: '-' }}
{{ $bushire->address ?: '-' }}

Journey Information
{{ $bushire->pickup_point ?: '-' }}
{{ $bushire->drop_point ?: '-' }}
@if($bushire->journey_date) {{ \Carbon\Carbon::parse($bushire->journey_date)->format('d M Y') }} @else - @endif
@if($bushire->return_date) {{ \Carbon\Carbon::parse($bushire->return_date)->format('d M Y') }} @else - @endif

Vehicle Information
@if(isset($bushire->vehicle)) {{ $bushire->vehicle->name }} @else - @endif
{{ $bushire->bus_type ?: '-' }}
{{ $bushire->passengers ?: '0' }}
₹{{ number_format((float) $bushire->price, 2) }}
₹{{ number_format((float) $bushire->total_amount, 2) }}
@if($bushire->created_at) {{ $bushire->created_at->format('d M Y h:i A') }} @else - @endif

@endsection