@extends('layouts.public.app') @section('content')
@if ($orders)
Order Success

Order Submitted Successfully

{{--
Order Id # {{ $order['order_no'] }}
--}}

This order has been submitted and is pending acceptance from the seller.
You will be notified upon acceptance. If the seller rejects this order, you will also be informed.

@foreach ($orders as $order)

Order No: {{ $order['order_no'] }} | Supplier: {{ $order['getBusiness']['company'] }}

@if (!empty(@$order->getorderitems)) @php $i=0; @endphp @foreach (@$order->getorderitems as $items) @php $i++; @endphp @endforeach @endif
# Item Package Info Quantity Unit Price Total
{{ $i + 1 }} {{ @$items->getproduct->name}} Type: {{ ucfirst(@$items->packaging_type) }}
Unit: {{ ucfirst(@$items->packaging_measurement_units) }}
Weight: {{ @$items->packaging_net_weight }}
{{ @$items->quantity }} ${{ number_format(@$items->selling_price, 2) }} ${{ number_format(@$items->total_amount, 2) }}
@endforeach View your orders
@else
Order Failed

Order Failed

Something went wrong, Please try again later.

@endif
@endsection @push('css') @endpush @push('js') @endpush