@extends('layouts.admin.admin') @section('title', 'Ordered Pre Product') @section('content')
Ordered Pre Product
@can('send-order-mail-to-graduate') @if($order->order_status != \App\Constant\Constant::INCOMPLETE && !isArchived($order->archive))
Send Order Mail
@endif @endcan
@if (isArchived($order->archive)) @endif
ARCHIVED
Invoice Number {{ $order->invoice_number }}
Order Date {{ $order->order_date_formatted }}
Student {{ $order->graduate->full_name }} - {{ $order->graduate->student_id }}
Ceremony {{ $order->ceremony->detail }}
Address {{ $order->address }}
Pre Order Products Amount AUD ${{ numberFormat($order->pre_order_product_amount) }}
Postage Fee AUD ${{ numberFormat($order->postage_fee) }}
Order Status {!! orderStatus($order->order_status) !!}
Ordered Pre-Order Product
@include('order.partials.pre-order', ['order' => $order])
@can('change-order') @if(!isArchived($order->archive)) @if(count($products))
Add To Cart
@foreach ($products as $product)
@csrf
   {{ $product->product_name }}
@if(isTrue($product->has_option)) @foreach ($product->otherProductOptions as $key => $option)

{{ $option->name }}

@endforeach @endif @if(!isTrue($product->is_free) && $product->quantity_limit > 1)
@endif
@endforeach
@endif @endif @endcan
@endsection