{{-- --}} {{-- @vite(['resources/js/app.js']) --}} {{-- --}} {{-- --}} {{-- jquary --}}



@if ($transaction->status == 'preparing_shipping')
On Hold - Awaiting Funding
@elseif ($transaction->status == 'payment_confirmed')
On Hold - Payment Under Review
@elseif ($transaction->status == 'payment_confirmed_preparing')
Preparing your shipment!
@elseif ($transaction->status == 'shipping_started')
In Transit
@elseif ($transaction->status == 'delivered')
Delivered
@endif @if($transaction->status !== 'delivered')
@endif

Tracking number: {{-- transaction id --}} {{ $transaction->id }}
@if($transaction->status == 'shipping_started')
ETA ( Estimated Time of Arrival ):
{{-- we need a classic way to calculate the ETA --}}
@elseif($transaction->status == 'delivered')
Delivered on:
{{-- we need a classic way to calculate the ETA --}} {{ $transaction->shipping_completed_at }}
@endif
 
The Inspection Period begins when the Buyer

Customer information
Billing to: Shipping to:
{{ $transaction->buyer->name }}
{{ $transaction->buyer->address }}
{{ $transaction->buyer->phone }}
{{ $transaction->buyer->name }}
{{ $transaction->buyer->address }}
{{ $transaction->buyer->phone }}
Transaction information
Item Description Unit Price Total Price

{{ $transaction->title }}
@php if ($transaction->category == 'heavy') { echo 'Serial#'; } elseif ($transaction->category == 'boats') { echo 'HIN'; } else { echo 'VIN'; } @endphp: {{ $transaction->vin }}
@php echo ($transaction->category == 'heavy') ? 'Hours' : 'Mileage'; @endphp: {{$transaction->odometer}}
Seller's Name: {{ $transaction->seller_name }}
${{number_format( $transaction->value, 2, '.', ',')}} ${{number_format( $transaction->value, 2, '.', ',')}}
Fee ${{number_format( $transaction->escrow_fee, 2, '.', ',')}}
Subtotal ${{number_format( $transaction->value, 2, '.', ',')}}
Total ${{number_format( $transaction->value + $transaction->escrow_fee, 2, '.', ',')}}
Payment Status @if ($transaction->status == 'preparing_shipping') Unpaid @elseif ($transaction->status == 'payment_confirmed') Under Review @elseif ($transaction->status == 'payment_confirmed_preparing') Confirmed @elseif ($transaction->status == 'shipping_started') Paid @elseif ($transaction->status == 'delivered') Paid @endif