@extends('layout.pageheader')
@section('title', 'Thankyou')
@section('content')
<div class="mad-content" style="padding-top: 0px;">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-xl-6">
                <div class="content-element-7 align-center">
                    <h5 class="mad-404-title">Thankyou! Your Order Has Been Placed</h5>
                    <br>
                    <img src="{{ asset('assets_front/images/Pizza-maker.gif')}}" alt="" style="height: 300px;">
                    <!-- <h6>We're sorry, but we can't find the page you were looking for.</h6> -->
                </div>
                <div class="mad-table-wrap">
                    <table class="mad-table mad-table--vertical">
                        @php
                        session()->has('FRONT_USER_LOGIN');
                        $uid = session()->get('FRONT_USER_ID');
                        @endphp


                        <tbody>
                            @foreach($order_Completes as $order_Complete)
                            @if($uid == $order_Complete->user_id)
                            <tr>
                                <th>Order Id</th>
                                <td>
                                    {{$order_Complete->id}}
                                </td>
                            </tr>
                            <tr>
                                <th>Price</th>
                                <td><span class="mad-dollar">{{$order_Complete->total_price}}</span></td>
                            </tr>
                            @endif
                            @endforeach
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection