@extends('frontend::layouts.master_complete') @section('title') @section('style') @endsection @section('content')
@lang('frontend.frnd_58')
@lang('frontend.frnd_59')
{{ $order->order_no ?? '-' }}

@lang('frontend.frnd_60') / @lang('frontend.my_order')

@lang('frontend.order_detail')

@lang('frontend.order_date')

{{ $order->created_at ?? '-' }}

@lang('frontend.payment_method')

{{ !empty($order->payment_type) ? ($order->payment_type == 1 ? __('frontend.credit_or_debit_card') : __('frontend.bank_transfer')) : '-' }}

@lang('frontend.frnd_61')

{{ payment_text_status($order->payment_status ?? 0) }}

@lang('frontend.member_mobile')

{{ $order->member_tel ?? '-' }}

@lang('frontend.checkout_shipping_address')

@if (!empty($order->where_tobuy))

{{ $order->where_tobuy['name_' . $pageInit['lang']] ?? '' }}

@else

{{ $order->order_address->name ?? '' }}

{{ ($order->order_address->address ?? '') . ' ' . ($order->order_address->district['name_' . $pageInit['lang']] ?? '') . ' ' . ($order->order_address->city['name_' . $pageInit['lang']] ?? '') . ' ' . ($order->order_address->province['name_' . $pageInit['lang']] ?? '') . ' ' . ($order->order_address->zipcode ?? '') }}

@lang('frontend.checkout_mobile') {{ $order->order_address->mobile ?? '-' }}

@lang('frontend.member_email') {{ $order->member_email ?? '-' }}

@endif @if (!empty($order->tax_address) && $order->tax_address->status == 1)

@lang('frontend.tax_invoices')

{{ $order->tax_address->contact_name ?? '' }}

@if (!empty($order->tax_address->company_name)) {{ $order->tax_address->company_name }} @endif

{{ ($order->tax_address->address ?? '') . ' ' . ($order->tax_address->district['name_' . $pageInit['lang']] ?? '') . ' ' . ($order->tax_address->city['name_' . $pageInit['lang']] ?? '') . ' ' . ($order->tax_address->province['name_' . $pageInit['lang']] ?? '') . ' ' . ($order->tax_address->zipcode ?? '') }}

@lang('frontend.checkout_mobile') {{ $order->tax_address->mobile ?? '-' }}

@lang('frontend.member_email') {{ $order->tax_address->email ?? '-' }}

@endif

@lang('frontend.order_total')

@if (!empty($order->items)) @foreach ($order->items as $item)

{{ $item['product_name_' . $pageInit['lang']] ?? '' }}

@if (!empty($item['cartificate_' . $pageInit['lang']]) && !empty($item->item_color))
{{ $item['cartificate_' . $pageInit['lang']] }} / {{ $item->item_color }}
@else
{{ $item['cartificate_' . $pageInit['lang']] ?? '' }}{{ $item->item_color ?? '' }}
@endif
SKU
{{ $item->order_item_sku ?? '' }}
@if (!empty($item['cartificate_' . $pageInit['lang']]))
Certificate
{{ $item['cartificate_' . $pageInit['lang']] }}
@endif @if (!empty($item->item_color))
Body
{{ $item->item_color }}
@endif @if (!empty($item->item_diamond))
น้ำหนักเพชรเม็ดกลาง
{{ $item->item_diamond }}
@endif @if (!empty($item->item_size))
Weight
{{ $item->item_size }}
@endif @if (!empty($item->engraving_text))
Engraving
{{ $item->engraving_text }}
@endif @if (!empty($item->fontstyle))
Font
{{ $item->fontstyle }}
@endif
Quantity
{{ $item->quantity ?? 0 }}
@endforeach
{!! !empty($data['freebies']['description'])?$data['freebies']['description']:'' !!}
@endif
@lang('frontend.order_summery')
@lang('frontend.sub_total')
{{ number_format($order->sub_total ?? 0, 2) }} THB
@if (!empty($order->discount_total) && (float) $order->discount_total > 0)

@lang('frontend.save')

{{ number_format($order->discount_total, 2) }} THB

@endif
@lang('frontend.frnd_63')
0.00 THB
@lang('frontend.frnd_64')
0.00 THB
@if (!empty($order->coupon_code))
@lang('frontend.frnd_65')
{{ $order->coupon_code ?? '' }}
@lang('frontend.frnd_66')
{{ number_format($order->coupon_discount_price ?? 0, 2) }} THB
@endif
@lang('frontend.frnd_62')
{{ !empty($order->coupon_code) ? number_format($order->discal_total ?? 0, 2) : number_format($order->grand_total ?? 0, 2) }} THB
@includeIf('frontend::print-complete') @endsection @section('script') @endsection