@extends('layout.master')
@section('body-class', 'page-account-order-list')
@section('content')
| {{ __('shop/account.order.order_details') }} | {{ __('shop/account.order.amount') }} | {{ __('shop/account.order.state') }} | {{ __('common.action') }} |
|---|---|---|---|
| {{ $order->created_at }} {{ __('shop/account.order.order_number') }}:{{ $order->number }} {{--物流信息--}} @if ($order->orderShipments->count() > 0) {{ __('order.express_company') }}:{{ $order->orderShipments[0]->express_company }} {{ __('order.express_number') }}:{{ $order->orderShipments[0]->express_number }} @if($order->logistics) @php $created_at = strtotime($order->orderShipments[0]->created_at); $day_min = $order->logistics->day_min; $day_max = $order->logistics->day_max; $startTime = date('Y-m-d',strtotime("+{$day_min} day", $created_at)); $endTime = date('Y-m-d',strtotime("+{$day_max} day", $created_at)); @endphp {{ __('order.expected_arrival',['start_time'=>$startTime,'end_time'=>$endTime]) }} @endif @endif | |||
|
{{ $product->name }}
x {{ $product->quantity }}
|
@if ($loop->first)
{{ currency_format($order->total, $order->currency_code, $order->currency_value) }} | {{$order->status_format}} | {{ __('shop/account.order.check') }} | @endif