@extends('layouts.master') @section('content')

Order

@include('sweetalert::alert')
Thank you for your order, {{ ucfirst($ItemData->fname.' '. $ItemData->lname) }} !
Billing address

{{ $ItemData->title_type }}, {{ ucfirst($ItemData->fname.' '. $ItemData->lname) }}
Telefon: {{ $ItemData->billing_phone }}
E-Mail-ID: {{ $ItemData->email }}

{{ $ItemData->billing_street_no }},
{{ $ItemData->billing_postcode }}
{{ $ItemData->billing_location }}
{{ $ItemData->billing_county }}
{{ $ItemData->billing_adress }}

@if(!empty($ItemData->office_name) && $ItemData->product_type == 'Kaufen')
Delivery address

{{ $ItemData->office_name }}

@elseif(!empty($ItemData->office_name) && $ItemData->product_type == 'Verkaufen')
Delivery address

{{ $ItemData->office_name }}

@else
Delivery address

{{ $ItemData->title_type }}, {{ ucfirst($ItemData->fname.' '. $ItemData->lname) }}
Telefon: {{ $ItemData->delivery_phone }}
E-Mail-ID: {{ $ItemData->email }}

{{ $ItemData->delivery_adress }}
{{ $ItemData->delivery_address }}
{{ $ItemData->delivery_postcode }}
{{ $ItemData->delivery_location }}
{{ $ItemData->delivery_country }}

@endif
Other information

@php $ItemData->paid_date; $today = Carbon\Carbon::now()->format('Y-m-d'); @endphp Payment status: @if(isset($ItemData->paid_date) && $ItemData->paid_date <= $today) Paid @else Unpaid @endif
Shipping status: @if($ItemData->shipping_status) {{ $ItemData->shipping_status }} @else Pending @endif
Consignment number: @if($ItemData->shipping_number) {{ $ItemData->shipping_number }} @endif
Order date: {{ date('m/d/Y h:i A', strtotime($ItemData->created_at)) }}
IP Address: {{ $ItemData->client_ip }}
Product type: {{ $ItemData->product_type }}
Order number: {{ $ItemData->id }}
Payment method.: {{ $ItemData->payment_method }}
Shipping: {{ $ItemData->goldinvest_type }}
{{-- @if($ItemData->goldinvest_type) Versandart: {{ $ItemData->goldinvest_type }} @endif --}}

{{--
Receipt
Receipt Voucher : 1KAU9-84UIL
--}}
@foreach($AllOrder as $order)
{{--
@if($order->image) @else @endif
--}}
Title
{{ $order->ship_name }}
Unit price net
{{ config('app.symbol') }}{{ $order->unit_price_net }}
Gross unit price
{{ config('app.symbol') }}{{ ($order->unit_price_net * 0) + $order->unit_price_net }}
Quantity
{{ $order->quantity }}
@endforeach

Order details

Subtotal

{{ config('app.symbol') }}{{ $order->sub_total }}

@endsection