{{translate($title)}}
{{translate('Order Details')}} - {{$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("Status")}} | {{translate("Action")}} |
---|---|---|---|---|---|---|
@if($orderDetail->product->seller_id) {{($orderDetail->product->name)}} @else {{($orderDetail->product->name)}} @endif | {{(@$digitalProductAttributes ?@$digitalProductAttributes->name :"N/A")}} | {{(short_amount($orderDetail->original_price))}} | {{(short_amount($orderDetail->total_taxes))}} | {{(short_amount($orderDetail->total_price))}} | @php echo order_status_badge($orderDetail->status) @endphp |
{{translate('Customer Details')}}
-
{{(@$order->customer->name?? @$email)}}
{{translate('Customer')}}
- {{(@$order->customer->email ??@$email)}}
- {{(@$order->customer->phone ? $order->customer->phone :'N/A')}}
{{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('Custom information')}}
-
@foreach($order->custom_information as $key => $value)
- {{$key}} : @if(is_array($value)) {{ implode(",", $value)}} @else {{$value}} @endif @endforeach
{{translate('Attribute Value') }}
@if(@$digitalProductAttributes->digitalProductAttributeValueKey->count() > 0)
{{translate("Attribute Name")}} :
{{@$digitalProductAttributes->name}}
@else
{{translate("No Attribute Value Found")}}
@endif