@extends('layouts.app', ['title' => __('Add Site')]) @section('content') @include('sites.partials.header', [ 'title' => $site->site_name.": #". $order['id'], 'class' => 'col-lg-12', 'button' => 'Back to Site', 'button_url' => route('sites.show', $site->id), ])

Order #{{$order['id']}} details

General

Created On:

Status: {{ $site->getStatusName($order['status']) }}

Customer: {{!$customer ? 'Guest' : $customer->first_name .' '. $customer->last_name}}

Billing

{{ $order['billing']['first_name'] }} {{ $order['billing']['last_name'] }}
{{ $order['billing']['address_1'] }} {{ !empty($order['billing']['address_2']) ? "
" . $order['billing']['address_2'] : '' }}
{{ $order['billing']['city'] }} {{ $order['billing']['state'] }}, {{ $order['billing']['postcode'] }}

Email Address

{{ $order['billing']['email'] }}

Phone

{{ $order['billing']['phone'] }}

Shipping

{{ $order['billing']['first_name'] }} {{ $order['billing']['last_name'] }}
{{ $order['billing']['address_1'] }} {!! !empty($order['billing']['address_2']) ? "
" . $order['billing']['address_2'] : '' !!}
{{ $order['billing']['city'] }}
{{ $order['billing']['state'] }}
{{ $order['billing']['postcode'] }}

@php $item_subtotal = 0; @endphp @forelse($order['line_items'] as $item) @php $item_subtotal += $item['total']; @endphp @empty @endforelse
Item Cost Qty Total HST (13%)
{{ $item['name'] }} ${{ number_format($item['price'],2) }} x{{ $item['quantity'] }} ${{ $item['total'] }} ${{ $item['subtotal_tax'] }}
No Items Found
{{--
{{var_export($order)}}
--}} @include('layouts.footers.auth')
@endsection