@extends('layout.master') @section('body-class', 'page-account-order-info') @section('content')
{{ __('shop/account.order.order_info.order_details') }}
@if ($order->status == 'unpaid') {{ __('shop/account.order.order_info.to_pay') }} @endif @if ($order->status == 'shipped') @endif
{{ __('shop/account.order.order_info.order_number') }} {{ __('shop/account.order.order_info.order_date') }} {{ __('shop/account.order.order_info.state') }} {{ __('shop/account.order.order_info.order_amount') }}
{{ $order->number }} {{ $order->created_at }} {{ __("common.order.{$order->status}") }} {{ $order->total_format }}
{{ __('shop/account.order.order_info.order_items') }}
@foreach ($order->orderProducts as $product)
{{ $product->name }}
x {{ $product->quantity }}
{{ $product->price_format }}
@if ($order->status == 'completed') {{ __('shop/account.order.order_info.apply_after_sales') }} @endif
@endforeach
{{ __('shop/account.order.order_info.order_total') }}
@foreach (array_chunk($order->orderTotals->all(), 2) as $totals) @foreach ($totals as $total) @endforeach @endforeach
{{ $total->title }} {{ $total->value_format }}
@if (0)
{{ __('shop/account.order.order_info.logistics_status') }}
@endif @if ($order->orderHistories->count())
{{ __('shop/account.order.order_info.order_status') }}
@foreach ($order->orderHistories as $orderHistory) @endforeach
{{ __('shop/account.order.order_info.state') }} {{ __('shop/account.order.order_info.remark') }} {{ __('shop/account.order.order_info.update_time') }}
{{ $orderHistory->status }} {{ $orderHistory->comment }} {{ $orderHistory->created_at }}
@endif
@endsection @push('add-scripts') @endpush