@extends('frontend.amazy.layouts.app') @section('title') {{__('common.orders')}} @endsection @push('styles') @endpush @section('content')
{{ $order->order_number }}
{{ $order->created_at }}
@if($order->is_cancelled == 1) {{__('common.cancelled')}} @elseif($order->is_completed == 1) {{__('common.completed')}} @else @if ($order->is_confirmed == 1) {{__('common.confirmed')}} @elseif ($order->is_confirmed == 2) {{__('common.declined')}} @else {{__('common.pending')}} @endif @endif
{{ single_price($order->grand_total) }}
{{ $package->shipping_date }}
{{ $package->package_code }}
{{ single_price($package->products->sum('total_price')) }}
{{ single_price($package->tax_amount) }}
{{@$package->carrier->name }}
{{@$package->carrier_order_id }}
{{$order->guest_info->guest_id}}
{{@$order->guest_info->shipping_name}}
{{@$order->guest_info->shipping_email}}
{{@$order->guest_info->shipping_phone}}
{{@$order->guest_info->shipping_address}}
{{@$order->guest_info->getShippingCity->name}}
{{@$order->guest_info->getShippingState->name}}
{{@$order->guest_info->getShippingCountry->name}}
{{@$order->guest_info->billing_name}}
{{@$order->guest_info->billing_email}}
{{@$order->guest_info->billing_phone}}
{{@$order->guest_info->billing_address}}
{{@$order->guest_info->getBillingCity->name}}
{{@$order->guest_info->getBillingState->name}}
{{@$order->guest_info->getBillingCountry->name}}
{{single_price($order->sub_total)}}
- {{single_price($order->discount_total)}}
- {{single_price($order->coupon->discount_amount)}}
{{single_price($order->tax_amount)}}
{{single_price($order->shipping_total)}}
{{single_price($order->grand_total)}}
{{$order->GatewayName}}
@if(@$order->order_payment->txn_id && @$order->order_payment->txn_id != 'none'){{ @$order->order_payment->txn_id }} @else - @endif
@if ($order->is_paid == 1) {{__('common.paid')}} @else {{__('common.pending')}} @endif
{{ $process->description }}