@php 
use Application\Session;
include 'corporate-details.php';
$sessionData = Session::all();
@endphp
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>ATTENTION: Patriots</title>
		@php require_once 'app/general/__header__.tpl' @endphp
		<page-builder-block>
			<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
			<link href="@php echo $path['css'] @endphp/bootstrap.min.3.3.1.css" rel="stylesheet">
			<!--<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap" rel="stylesheet">
			<link href="https://fonts.googleapis.com/css?family=Oswald:400,600&display=swap" rel="stylesheet">
			 <link rel="stylesheet" href="@php echo $path['css']@endphp/font-awesome.min.css"> -->
			<link href="@php echo $path['css'] @endphp/pages.css" rel="stylesheet" />
			<link href="@php echo $path['css'] @endphp/thankyou.css" rel="stylesheet" />
			<style type="text/css">
				a.outline-none, a.outline-none>img{
				outline: 0;
				border:0;
				}

                .detail-row.price-container, .detail-row.shipping-container {
                    display: flex;
                    justify-content: space-between;
                }

                html{
                    font-family: Conv_ProximaNova-Regular;
                }
			</style>
		</page-builder-block>
	</head>
	<body>
		@php perform_body_tag_open_actions(); @endphp
		<section class="grey-bg">
			<div class="container no-padding">
			<div class="thx-header">
				<img src="@php echo $path['images'] @endphp/logo-new.png" style="max-width: 100%;" alt="">
				<h3>Congrats - Order Complete!
				</h3>
				<p>below you can find all the products you purchased...
				</p>
			</div>
			<div class="bg-white">
				<div class="col-md-12 text-center">
					<h4>Order Receipt:
						@php echo  $steps['1']['orderId']; @endphp
					</h4>
					<h5>Order placed:
						@php echo date("F d, Y"); @endphp
					</h5>
				</div>
				<div class="clearfix"></div>
				<div class="text-center hd-line">
					<b>Your Product Summary:</b>
					<span>below you can find all the products you purchased...
					</span>
				</div>
				<div class="clearfix "></div>
				<div class="product-section">
					<div class="col-md-6 col-sm-6"><img src="@php echo $path['images'] @endphp/shoe.png" class="img-responsive productimage"></div>
					<div class="col-md-6 col-sm-6">
						<h4><span class="productname">Trump 2024 Flag</span></h4>
						<div class="detail-row bottle-package">
							<h5><span id="bottleAmount"></span> </h5>
							<hr>
						</div>
						<div class="detail-row price-container">
							<h6>New Member Price:</h6>
							<h6>$ <span id="price">0.00</span></h6>
						</div>
						<div class="detail-row shipping-container">
							<h6>Shipping &amp; Handling:</h6>
							<h6>$<span id="shipping-cost">
								@php echo  $sessionData['steps']['1']['products']['0']['productPrice'] @endphp</span>
							</h6>
							@php
							$total = (float)$sessionData['steps']['1']['products']['0']['productPrice'];                       
							@endphp
						</div>
						<hr>
					</div>
					@php
					if($sessionData['steps']['1']['splitOrder']['products']['0']['productPrice']){
					@endphp
					<div id="protectionplan">
						<div class="clearfix"></div>
						<div class="col-md-4 col-md-offset-2 col-sm-3 col-sm-offset-2">
						</div>
						<div class="col-md-4 col-sm-5">
							<div style="display: -webkit-inline-box;" >
								<h4>ONE TIME OFFER</h4>
								<span style="color:red;">
									<h4> : PROTECTION PLAN</h4>
								</span>
							</div>
							<div class="detail-row price-container">
							</div>
							<div class="detail-row shipping-container">
								<!--                                 <h6>Shipping &amp; Handling:</h6>
									-->                                
								<h6>$<span id="shipping-cost">
									@php echo $sessionData['steps']['1']['splitOrder']['products']['0']['productPrice'] @endphp</span>
								</h6>
								@php 
								$total = $total + (float)$sessionData['steps']['1']['splitOrder']['products']['0']['productPrice'];                          
								@endphp
							</div>
							<hr>
						</div>
					</div>
					@php
					}
					@endphp
					<div id="protectionplan">
						<div class="clearfix"></div>
						<div class="col-md-4 col-md-offset-2 col-sm-3 col-sm-offset-2">
						</div>
						<div class="col-md-4 col-sm-5">
							<div style="display: -webkit-inline-box;" >
								<h4>TOTAL:</h4>
							</div>
							<div class="detail-row price-container">
							</div>
							<div class="detail-row shipping-container">
								<!--                                 <h6>Shipping &amp; Handling:</h6>
									-->                                
								<h6>$<span id="shipping-cost">
									@php echo $total; @endphp</span>
								</h6>
							</div>
							<hr>
						</div>
					</div>
					<div class="clearfix "></div>
					<div class="text-center hd-line">
						<b>Our Promise To You:</b>
						<span>With Our No Hassles Guarantee
						</span>
					</div>
					<div class="thx-2">
						<p>We <strong>LOVE</strong> Our Customers and Take our Customer<br> Satisfaction <strong>VERY</strong> Seriously!
						</p>
					</div>
					<div class="thx-3">
						<p>
							If you are not happy about our product for any reason, you can cancel at any time. Just text or call our customer loyalty team below and we will process your refund right away without any hassle...
						</p>
					</div>
					<div class="thx-4 text-center">
						<h3>You Got<strong> Questions?</strong>
						</h3>
						<h3>We Have<strong> Answers!</strong>
						</h3>
						<h4>
							<strong> CALL</strong><!-- OR <strong>TEXT</strong>-->
						</h4>
						<h5><strong><a style="text-decoration:none; color:#17b12b;" href="tel:<?=$tel?>"><?=$phone?></a></strong></h5>
						<p>Check Order Status - Get Live Shipping Updates - Cancel Order
						</p>
					</div>
					<div class="text-center hd-line">
						<b>Current Order Processing Time:</b>
						<span>Due to High Demand orders are shipped within 5 business days for delivery.
						</span>
					</div>
					<div class="thx-2 text-center">
						<p>We're working hard to fulfill <strong>EVERY</strong> request and In most cases, it will arrive<strong> MUCH</strong> sooner, but we like to under promise and <strong>OVER</strong> deliver
						</p>
					</div>
					<div class="thx-3">
						<p>
							You should also receive a email with your order details in case anything happens, but please feel free to reach out to us at at our support desk with any questions.
						</p>
					</div>
				</div>
				<div class="footlink">
					<ul>
                        <a href="javascript:void(0);" onClick="javascript:openNewWindow('page-terms.php','modal');">Terms and Conditions</a> <span>|</span> 
                            <a href="javascript:void(0);" onClick="javascript:openNewWindow('page-refund.php','modal');">Return Policy</a> <span>|</span>
							<a href="javascript:void(0);" onclick="javascript:openNewWindow('page-privacy.php', 'modal');">Privacy Policy</a> <span>|</span> 
							<a href="javascript:void(0);" onclick="javascript:openNewWindow('page-contact.php', 'modal');">Contact Us</a>
					</ul>
				</div>
			</div>
		</section>
		@php require_once 'app/general/__scripts__.tpl' @endphp
		@php require_once 'app/general/__analytics__.tpl' @endphp
		@php perform_body_tag_close_actions(); @endphp
		<script src="@php echo $path['js']; @endphp/bootstrap.js"></script>
	</body>
</html>