@if(!is_null($order->orderAddress->state))
{{ $order->orderAddress->state->city->title }}
/
{{ $order->orderAddress->state->title }}
@endif
@if($order->orderAddress->block) {{__('order::dashboard.orders.show.address.block')}} : {{ $order->orderAddress->block }}
@endif @if($order->orderAddress->street) {{__('order::dashboard.orders.show.address.street')}} : {{ $order->orderAddress->street }}
@endif @if($order->orderAddress->building) {{__('order::dashboard.orders.show.address.building')}} : {{ $order->orderAddress->building }}
@endif {{__('order::dashboard.orders.show.address.details')}} : {{ $order->orderAddress->address ?? '---' }}
@if($order->orderAddress->block) {{__('order::dashboard.orders.show.address.block')}} : {{ $order->orderAddress->block }}
@endif @if($order->orderAddress->street) {{__('order::dashboard.orders.show.address.street')}} : {{ $order->orderAddress->street }}
@endif @if($order->orderAddress->building) {{__('order::dashboard.orders.show.address.building')}} : {{ $order->orderAddress->building }}
@endif {{__('order::dashboard.orders.show.address.details')}} : {{ $order->orderAddress->address ?? '---' }}
#{{ $order['id'] }}
{{date('Y-m-d / H:i:s' , strtotime($order->created_at))}}
{{__('order::dashboard.orders.show.user.username')}} : {{ $order->orderAddress->username }}{{__('order::dashboard.orders.show.user.mobile')}} : {{ $order->orderAddress->mobile }}
| {{__('order::dashboard.orders.show.items.title')}} | {{__('order::dashboard.orders.show.items.price')}} | {{__('order::dashboard.orders.show.items.qty')}} | {{__('order::dashboard.orders.show.items.total')}} | @if($order->orderCoupons && !empty($order->orderCoupons->products)){{__('order::dashboard.orders.show.items.coupon_discount')}} | @endif|
|---|---|---|---|---|---|
{{ generateVariantProductData($product->variant->product, $product->product_variant_id, $product->variant->productValues->pluck('option_value_id')->toArray())['name'] }}
@if($product->notes)
# {{__('order::dashboard.orders.show.items.notes')}} : {{ $product->notes }}@endif |
{{ $product->sale_price }} | {{ $product->qty }} | {{ $product->total }} | @if($order->orderCoupons && !empty($order->orderCoupons->products) && in_array($product->variant->product->id, $order->orderCoupons->products ?? []))@if($order->orderCoupons->discount_type == 'value') {{ $order->orderCoupons->discount_value }} {{ __('apps::frontend.master.kwd') }} @else {{ round($order->orderCoupons->discount_percentage, 1) }} % @endif | @endif|
|
{{ $product->product->title }}
{{ $product->product->sku }} @if($product->notes) # {{__('order::dashboard.orders.show.items.notes')}} : {{ $product->notes }}@endif |
{{ $product->sale_price }} {{--@if(!empty($product->add_ons_option_ids)) {{ $product->sale_price }} + {{ json_decode($product->add_ons_option_ids)->total_amount }} @else {{ $product->sale_price }} @endif--}} | {{ $product->qty }} | @if(!empty($product->add_ons_option_ids)) {{ (floatval(json_decode($product->add_ons_option_ids)->total_amount) + floatval($product->sale_price)) * intval($product->qty) }} @else {{ $product->total }} @endif | @if($order->orderCoupons && !empty($order->orderCoupons->products) && in_array($product->product->id, $order->orderCoupons->products ?? []))@if($order->orderCoupons->discount_type == 'value') {{ $order->orderCoupons->discount_value }} {{ __('apps::frontend.master.kwd') }} @else {{ round($order->orderCoupons->discount_percentage, 1) }} % @endif | @endif|
| # {{ getAddonsTitle($addons->id) }} - {{ getAddonsOptionTitle($option) }} | {{ getOrderAddonsOptionPrice(json_decode($product->add_ons_option_ids), $option) }} | 1 | {{ getOrderAddonsOptionPrice(json_decode($product->add_ons_option_ids), $option) }} | ||
| {{__('order::dashboard.orders.show.order.addons_total')}} | {{ json_decode($product->add_ons_option_ids)->total_amount }} | ||||
| {{__('order::dashboard.orders.show.order.subtotal')}} | {{ number_format($customSubTotal, 3) }} | {{--@if($order->orderCoupons && empty($order->orderCoupons->products)){{ $customSubTotal }} | @else{{ $order->subtotal }} | @endif--}}||
| {{__('order::dashboard.orders.show.order.coupon_discount')}} | @if($order->orderCoupons->discount_type == 'value') {{ $order->orderCoupons->discount_value }} @else {{ $order->orderCoupons->discount_percentage }} % @endif | ||||
| {{__('transaction::dashboard.orders.show.transaction.method')}} | {{ ucfirst($order->transactions->method) }} | ||||