{{ Form::label('Order Date') }}
{{ \Carbon\Carbon::parse($order->created_at)->format('M d, Y h:i a') }}
{{ Form::label('Order Status') }}
@if($order->order_status == 'Can pay now')
@if($order->order_status_time != '' && $order->payment_expire != '')
@php($remainingTimeForPayment = paymentExpiration($order->order_status_time, $order->payment_expire))
@if($remainingTimeForPayment)
{{ $order->order_status }}
@else
{{ 'Payment expired' }}
@endif
@else
{{ $order->order_status }}
@endif
@else
{{ $order->order_status }}
@endif
@if($order->order_status === 'Canceled by customer')
{{ Form::label('Cancel Reason') }}
{{ $order->title }}
@endif
{{ Form::label('Payment Method') }}
{{ $order->transaction ? $order->transaction->paymentMethod->payment_method_name : 'Not Available' }}