@extends('layouts.app') @section('css') @endsection @section('content')
{{ $order->number }}
{{ $order->datetime_formatted }}
{{ $order->deleted_at_formatted }}
{{ $order->total }} Points
{{ $order->amount_to_pay }} Points
MYR {{ $order->discount->code }}
{{ $order->user->first_name }} {{ $order->user->last_name }}
{{ $order->user->email }}
{{ $order->user->phone_number }}
View User
Item | Unit Price (Points) | Quantity | Total | @foreach ($order->productVariations as $variation) @php $product = $variation->product; @endphp
---|---|---|---|
{{ $product->name }} ({{ $variation->title }}) | {{ $variation->pivot->unit_price }} | {{ $variation->pivot->quantity }} | {{ $variation->pivot->price }} Points |
Subtotal | {{ $order->subtotal }} Points | ||
Total | {{ $order->total }} Points | ||
Point Use | {{ $order->amount_to_pay }} Points |
{{ $shipping->first_name }}
{{ $shipping->last_name }}
{{ $shipping->street }}
{{ $shipping->postcode }}
{{ $shipping->city }}
{{ $shipping->state }}
{{ $shipping->phone_number }}
{{ $shipping->remark ?? '-' }}