活動名稱
{{ $order->activity->name }}
團媽
{{ $order->administrator->name }}
訂單編號
{{ (isset($order) ? $order->code : '(系統產生)') }}
{{-- 玉山信用卡 --}}
@if ($order->pay_method_id == 1)
玉山交易序號
{{ $order->payment->code }}
@endif
{{-- 發票號碼 --}}
@if (!empty($order->invoice->code))
發票號碼
{{ $order->invoice->code }}
@endif
{{-- 貨運單號 --}}
@if (!empty($order->freight_code))
貨運單號
{{ $order->freight_code }}
@endif
{{-- 訂單狀態 --}}
訂單狀態
{{ $order->order_status_label }}
{{-- 付款狀態 --}}
付款狀態
{{ $order->pay_status_label }}
訂購人
{{-- 備註
--}}
{{-- 收件人 --}}
收件人
其他資訊
{{--
系統備註
--}}
貨運方式
付款方式
購物車項目
@if ($errors->has('cart_items_json'))
@include('admin.panels.input-invalid-messages', [ 'messages' => $errors->get('cart_items_json') ])
@endif
-
小計
$
{{ number_format($order->items_total) }}
-
運費
$
{{ number_format($order->freight_fee) }}
@foreach ($order->discounts as $discount)
@if ($discount->discount == 0)
@continue
@endif
-
{{ $discount->name ?: '折扣' }}
- $
{{ number_format($discount->discount) }}
@endforeach
-
{{-- -
總折扣
- $
{{ number_format($order->discounts_total) }}
--}}
-
總計
$
{{ number_format($order->total) }}
{{-- 付款資訊 --}}
金額
$ {{ number_format($order->total) }}
@if ($order->isUnpaid())
@if ($order->payment->expires_at >= Carbon\Carbon::now() && $order->pay_method_id == 1)
{{-- 玉山信用卡 --}}
@elseif ($order->payment->expires_at >= Carbon\Carbon::now() && $order->pay_method_id == 2)
{{-- 玉山虛擬帳號 --}}
銀行名稱
{{ config('esun.bankCode') }} {{ config('esun.bankName') }}
分行名稱
{{ config('esun.branchCode') }} {{ config('esun.branchName') }}
匯款戶名
{{ config('esun.accountName') }}
匯款帳號
{{ $order->payment->account }}
@endif
付款期限
{{ $order->payment->expires_at }}
@else
訂單狀態
{{ config('order.order_status')[$order->order_status] }}
({{ $order->pay_status_label }})
@endif
{{-- 發票資訊 --}}
金額
$ {{ number_format($order->total) }}
發票號碼
{{ $order->invoice->code ?: '-' }}
@if (!empty($order->invoice->preview_link))
檢視發票
@endif