<!DOCTYPE html>
<html ng-app="myapp" lang="{$SelCurrLanguage}" dir="{$languageDirection}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{if $content.contentMetaTitle}{$content.contentMetaTitle}{else}{$commonMetaTitle}{/if}</title>
<meta name="viewport" content="width=device-width">
<meta name="Description" content="{if $content.contentMetaDescription}{$content.contentMetaDescription}{else}{$commonMetaDescription}{/if}" />
<meta name="Keywords" content="{if $content.contentMetaKeywords}{$content.contentMetaKeywords}{else}{$commonMetaKeywords}{/if}" />
{include file='CommonStyles.tpl'}
{include file='CommonJavaScript.tpl'}
<script type="text/javascript">
    $(document).ready(function(){
        $('.pop-link').click(function(){
            $('.offline_payment_slip').show();	
        });
        $('.offline_payment_slip .close').click(function(){
            $('.offline_payment_slip').hide();	
        });
    });
</script>

</head>
<body ng-controller="SearchCtrl" class="{$languageDirection}">
<!--
Start of Floodlight Tag: Please do not remove
Activity name of this tag: BMW - Find Your BMW - Book - Submit
URL of the webpage where the tag is expected to be placed: 
This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
Creation Date: 09/11/2019
-->
<script type="text/javascript">
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('<iframe src="https://6355536.fls.doubleclick.net/activityi;src=6355536;type=websi0;cat=bmw-f00h;u2=[language];u4=[model];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
</script>
<noscript>
<iframe src="https://6355536.fls.doubleclick.net/activityi;src=6355536;type=websi0;cat=bmw-f00h;u2=[language];u4=[model];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
</noscript>
<!-- End of Floodlight Tag: Please do not remove -->

<!-- Begin : Outer Pane -->
<div id="main"> 
    <!-- Begin : Header Pane--> 
    {include file='CommonTop.tpl'} 
    <!-- End : Header --> 
    <!-- Begin : Content Pane -->
    <div id="content-wrapper" class="bg-light" ng-show="!query" >
        <div class="container">
            <div id="common_message" ></div>
            <div class="payment-thanks-sec py-5">
                <div class="bg-white p-lg-5 p-md-4 px-3 pb-3 payment-inner-blk">
                    <div class="row align-items-center flex-md-row flex-column-reverse my-md-4">
                        <div class="col-md-7 col-12">
                            <h3 class="font-weight-bold text-primary">
                                {if $paymentSettingsGroupKey eq 'NetworkOnline'}
                                    {$language.lblBookingConfirmation}
                                    {else}
                                        {$language.lblBookingRequestConfirmation}
                                {/if}        
                                
                            </h3>
                            <h5 class="text-muted">{$productDetails.productTitle}</h5>
                            <ul class="list-unstyled font-family-secondary my-4 py-md-4 font-base">
                                <li>{$language.lblModel}: {$productDetails.productTitle}</li>
                                <li>{$language.lblFinanceEMI}
                                {assign var="purchasedCurrency" value=$all_orders.0.purchasedCurrency}
                                {assign var="userCurrency" value=$all_orders.0.userCurrencyID}
                                {assign var="excRate" value=$all_orders.0.userCurrencyExcRate}
								{*
								{$productDetails.productOptionProductPrice|price_order:'':$purchasedCurrency:$userCurrency:$excRate} *}
								{*{$productDetails.productOptionProductPrice|price:'':$purchasedCurrency:$currentCurrencyID}*}
                                                               
                                                            {$productDetails.monthlyInstallment|price:'':$purchasedCurrency:$currentCurrencyID}
								</li>
                            </ul>
                            {*{html->anchor href="{$siteUrl}/public/uploads/invoice/{$getOrderDetails.orderFileName}" content="{$language.lblDownloadConfirmation}" class="btn btn-primary font-small font-weight-bold px-5"}*}
                            <a target="_blank" href="{$siteUrl}/public/uploads/invoice/{$getOrderDetails.orderFileName}" class="btn btn-primary font-small font-weight-bold px-sm-5 px-4">{if $paymentSettingsGroupKey eq 'NetworkOnline'}
                                    {$language.lblBookingConfirmation}
                                    {else}
                                        {$language.lblBookingRequestConfirmation}
                                {/if}    </a>
                        </div>
                        <div class="col-md-5 col-12 mb-md-0 mb-4">
                            <figure class="m-0 overflow-hidden">
                                <img src="{$externalimage}" class="img-fluid position-relative" alt="{$productDetails.productTitle}">
                            </figure>
                            <h6 class="font-base font-weight-bold text-center">{$productDetails.productTitle}</h6>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- End : Content Pane --> 
    <!-- Begin : Footer	Pane --> 
    {include file='CommonBottom.tpl'  } 
    <!-- End : Footer Pane --> 
</div>
<!-- End : Outer Pane --> 
{include file='CommonJavaScriptBottom.tpl'  }
{html->messages_script id="common_message"} 
<script type="text/javascript">
 var lblPostNotPublished="{$language.lblPostNotPublished}";
 var lblPostPublished="{$language.lblPostPublished}";
 var lblFindfriends="{$language.lblFindfriends}";
 var lblClearSearch="{$language.lblClearSearch}";
 var lblNofriendFound="{$language.lblNofriendFound}";
 var lblLoadingfriendlist="{$language.lblLoadingfriendlist}";
 var lblFollowThisBusiness  = "{$language.lblFollowThisBusiness}";
 var lblUnfollowThisBusiness  = "{$language.lblUnfollowThisBusiness}";
 var msgFollowSuccess  = "{$language.msgFollowSuccess}";
 var msgUnfollowSuccess  = "{$language.msgUnfollowSuccess}";

</script> 
 {html->script_group_start name="{$compiled_js_path}/paymentthanks.js"}
   {html->script src="{$common_frontend_js}/follow.page.js"}
   {html->script src="{$common_frontend_js}/invite_frnds.js"}
 {html->script_group_end} 
 
<script type="text/javascript" >
$(document).ready(function(){
$(document).on("click",'.facebook',function(){
		$(this).addClass("active");
});
$(document).on("click",".poplink",function(){
 $('.fbsection').hide();
 $(".facebook").removeClass("active");
});
$(document).on("click",".post_friend_link",function(){
	
	if($(this).hasClass("nonClickable"))
	return false;
	var url=$(this).attr("rel");
	invite_friend(url);
	return false;
	
	
});
		


});
</script> 
{html->messages_script id="common_message"}
</body>
</html>
