@extends('seller.layouts.app') @section('main_content')

{{translate('Order Details')}}

{{translate('Order')}} - {{$order->order_id}}
@if($orderDetail->status == App\Models\Order::DELIVERED) {{translate('Received')}} @endif
{{translate('Product')}} {{translate('Attribute')}} {{translate('Original amount')}} {{translate('Tax')}} {{translate('amount')}} {{translate("Action")}}
{{$orderDetail->product->name}} {{(@$digitalProductAttributes ?@$digitalProductAttributes->name :"N/A")}} {{(short_amount($orderDetail->original_price))}} {{(short_amount($orderDetail->total_taxes))}} {{(short_amount($orderDetail->total_price))}} @if($orderDetail->status == App\Models\Order::DELIVERED) {{translate('Received')}} @else {{translate('N/A')}} @endif
{{translate('Customer Details')}}
@if(@$order->customer) @endif
  • {{@$order->customer->image}}
    {{(@$order->customer->name?? @$order->billing_information->email)}}

    {{translate('Customer')}}

  • {{(@$order->customer->email ?? @$order->billing_information->email)}}
  • {{(@$order->customer->phone ? $order->customer->phone :'N/A')}}
@if($order->custom_information)
{{translate('Custom information')}}
  • {{translate('Payment status')}} : @if ($order->payment_status == App\Models\Order::UNPAID) {{ translate('Unpaid') }} @elseif($order->payment_status == App\Models\Order::PAID) {{ translate('Paid') }} @endif
  • {{translate('Payment VIA')}} : @if($order->wallet_payment == App\Models\Order::WALLET_PAYMENT) {{ translate('Payment VIA Wallet')}} @else @if ($order->payment_type == '2') {{ @$order->paymentMethod ? $order->paymentMethod->name : 'N/A' }} @else {{ translate('Cash On Delivary') }} @endif @endif
  • @foreach($order->custom_information as $key => $value)
  • {{$key}} : @if(is_array($value)) {{ implode(",", $value)}} @else {{$value}} @endif
  • @endforeach
@endif
{{translate('Payment details')}}
  • {{translate('Payment status')}} : @if ($order->payment_status == App\Models\Order::UNPAID) {{ translate('Unpaid') }} @elseif($order->payment_status == App\Models\Order::PAID) {{ translate('Paid') }} @endif
  • {{translate('Payment VIA')}} : @if($order->wallet_payment == App\Models\Order::WALLET_PAYMENT) {{ translate('Payment VIA Wallet')}} @else @if ($order->payment_type == '2') {{ @$order->paymentMethod ? $order->paymentMethod->name : 'N/A' }} @else {{ translate('Cash On Delivary') }} @endif @endif
  • @if($order->payment_details) @foreach ($order->payment_details as $key => $value )
  • {{k2t($key)}} : {{$value}}
  • @endforeach @endif
{{translate('Attribute Value') }}
@if(@$digitalProductAttributes->digitalProductAttributeValueKey->count() > 0)
{{translate("Attribute Name")}} : {{@$digitalProductAttributes->name}}
@else

{{translate("No Attribute Value Found")}}

@endif
@endsection