發票編號: {{ $order_id }}
客戶信息:
{{ $order->member->name}}
{{ $order->member->email}}
{{ $order->member->telephone}}
公司地址:
{{ config('address') }}
@foreach($order->items as $index => $item) @endforeach
# 描述
售價
數量
總計
{{ $index + 1 }} {{ $item['detail'] }} {{ config('currency_symbol') }}{{ number_format($item['unit_price'], 2, '.', ',') }} {{ $item['quantity'] }} {{ config('currency_symbol') }}{{ number_format($item['total'], 2, '.', ',') }}
小計: {{ config('currency_symbol') }}{{ number_format($order->total, 2, '.', ',') }}
結餘: {{ config('currency_symbol') }}{{ number_format($order->total, 2, '.', ',') }}
付款日期 付款方法 總計
{{ $order->order_date }} @if($order->payment != null) {{ $order->payment->payment_method }} @endif @if($order->payment != null) {{ $order->payment->payment_amount }} @endif
@if($order->comment != "") @endif