Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php use yii\helpers\Html; use yii\bootstrap4\ActiveForm; use yii\helpers\Url; /*..
Decoded Output download
<?php
use yii\helpers\Html;
use yii\bootstrap4\ActiveForm;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $model common\models\Customerverification */
/* @var $form ActiveForm */
$this->registerJsFile('/js/jquery.min.js', ['position' => \yii\web\View::POS_END]);
$this->registerJsFile('/js/presentation.js', ['position' => \yii\web\View::POS_END]);
$this->registerJsFile('/js/customerform.js', ['position' => \yii\web\View::POS_END]);
$this->registerJsFile('/js/customer.js', ['position' => \yii\web\View::POS_END]);
$dealType = substr($model->customer_Purchasetype, 0, 1);
$setting_section_array = \yii::$app->params['PREFERENCE_SECTION_ARR'];
if (isset($userPreferCustomer)) {
$userPrefersTab = $userPreferCustomer;
} else {
$userPrefersTab = $userSavedPrefers;
}
if( $model->lease_mileage_limit != null && strpos($model->lease_mileage_limit, ',') !== false ) {
$mileageLimitValue = $model->lease_mileage_limit;
} else {
$mileageLimitValue = number_format($model->lease_mileage_limit);
}
/* Total Due at Signing input box display only for CDK, DealerBuilt and DealerTrack */
if($model->customer_Recordsource == Yii::$app->params['Automate']) {
$display = 'none';
} elseif($model->customer_Recordsource == Yii::$app->params['AutoSoft']) {
$display = 'none';
}else {
$display = 'block';
}
$powertrainWarrantyValue = \backend\models\GeneralSetting::getPowertrainWarranty($powertrainFlag);
?>
<style>
input[type='radio']:disabled
{
cursor: not-allowed !important;
}
</style>
<section id="content-wrapper" class="fullcontentwrapper">
<!-- Headber Tab section start here -->
<div class="main-result onscrollChangetab" >
<div class="row">
<div class="col-md-8">
<ul class="nav nav-tabs custominfotab" id="warrantyTab">
<!-- Customer Verification Tab-->
<li class="nav-item fullscreen">
<a class="nav-link active" href="#Customerinformation" >
<span class="icon-customer-info presentationicons"></span> Customer Information</a>
</li>
<!-- Factory warranty Tab-->
<li class="nav-item hideleft fullscreen">
<a class="nav-link FactoryWarranty-nav" href="#warrantyPart"><span class="icon-fac-warranty presentationicons"></span> Factory Warranty</a>
</li>
</ul>
</div>
<div class="col-md-4">
<ul class="nav nav-tabs custominfotab d-flex justify-content-end" id="warrantyTab">
<!-- Customer Verification Tab-->
<li class="nav-item hideleft fullscreen">
<a class="nav-link custom-display" data-toggle="modal" href="#" data-target="#myModal" ><i class="fas fa-tv fa-2x mr-3"></i>Presentation Display</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Headber Tab section end here -->
<div class="custominfosec mt-3">
<div class=" one-page-landing leaseBGimg">
<div class="removescreen" title="Fit Screen"><img src="/image/login/zoom-out.svg"></div>
<div class="cutomermainwrp smothscrool customerfrom-wrap">
<section class="usersection customerformupdte cusotmer-form-main" id="Customerinformation">
<!-- Heading with Banner Image start here -->
<div class="customerinfobannernew leasecarBannder">
<div class="container-fluid">
<div class="row justify-content-center align-items-center testrowcustomer">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<h1 class="theme-title maintitle1 custommainheding white-border">
<span class="customrevi">Congratulations <span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none">
<path d="M7.7,145.6C109,125,299.9,116.2,401,121.3c42.1,2.2,87.6,11.8,87.3,25.7"></path>
</svg>
</span>
</span>On Your New Lease
</h1>
</div>
</div>
</div>
</div>
<!-- Heading with Banner Image end here -->
<?php
$form = ActiveForm::begin(
[
'id' => 'customer-verification-form',
'action' => ['/customer/update?id=' . base64_encode($model->customer_Id)],
'options' => [
'class' => 'comment-form',
'error' => 'infoformcontainer'
]
]);
?>
<!-- Purchase section end here -->
<?php if (in_array($setting_section_array[3], $userPrefersTab)) { ?>
<section class="custom-section" id="dealReviewPart">
<input type="hidden" id="customer-id" value="<?= $model->customer_Id; ?>"/>
<input type="hidden" id="deal-type" value="<?= $dealType; ?>"/>
<input type="hidden" id="vehicle-type" value="<?= $model->customer_Vehicletype; ?>"/>
<input type="hidden" id="vehicle-mileage" value="<?= $model->customer_Miles; ?>"/>
<div class="container-fluid">
<section>
<div class="custom-purchasereview custom-formsection">
<div class="heading-lablel">
<div class="cust-top-headign">
<h2>Lease Review</h2>
</div>
</div>
<div class="heading-icons">
<img src="/image/login/purchasereview.svg">
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<div class="col-md-12 mobileview-section mb-3 pr-1">
<div class="c-form-sections">
<div class="row">
<div class="col-md-8">
<div class="white-bg upper-new w100">
<div class="row">
<div class="col-md-6">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Vehicletype]" id="customer_vehicletype_new" value="New" checked="">
<p>New</p>
</div>
</div>
<div class="col-md-6">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Vehicletype]" id="customer_vehicletype_used" value="Used" disabled="true">
<p>Used</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="white-bg">
<div class="row">
<div class="col-md-4">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Purchasetype]" value="Cash" disabled="true">
<p>Cash</p>
</div>
</div>
<div class="col-md-4">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Purchasetype]" value="Finance" disabled="true">
<p>Finance</p>
</div>
</div>
<div class="col-md-4">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Purchasetype]" value="Lease" <?php echo $dealType == 'L' ? 'checked' : ''; ?>>
<p>Lease</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12 mobileview-section mb-3 pr-1">
<div class="c-form-sections">
<div class="row">
<div class="col-md-6">
<label for="">Mileage Allowed</label>
<?= $form->field($model, 'lease_mileage_allowed')->textInput(['class' => 'form-control cust-form-input non-editable-purchase', 'onkeypress'=>'return onlyNumberKey(event, this)', 'onblur'=>'autoUpdateRecord(this), updateLeaseMileageLimit();', 'value' => @$model->lease_mileage_allowed])->label(false) ?>
</div>
</div>
</div>
</div>
<div id="" class="col-md-12 mt-2 mobileview-section pr-3">
<div class="c-form-sections cash-deal-show-sec">
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12">
<div class="yesnotog">
<label>If the lender required an additional $1000-2000 down would those funds be available?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Additionalamount]" id="customerverification-customer_additionalamount" value="<?= $model->customer_Additionalamount; ?>" <?php echo ($model->customer_Additionalamount == '1' ? "checked" : '' ); ?>/>
<label for="customerverification-customer_additionalamount">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 mobileview-section">
<div class="c-form-sections price-breackup-form lease_ctm_form">
<div class="row">
<div class="col-sm-8">
<label for="">Sale Price</label>
<?= $form->field($model, 'customer_Bestprice')->textInput(['class' => 'form-control cust-form-input non-editable-purchase', 'onkeypress' => 'return onlyNumberKey(event, this)', 'onfocusout' => 'addZeroes(this);', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Bestprice])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Rebates</label>
<input type="text" class="form-control cust-form-input non-editable-purchase" name="Customerverification[customer_Rebate]" id="customerverification-customer_rebate" value="<?= @$model->customer_Rebate; ?>" onfocusout="addZeroes(this);" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateRecord(this);"/>
</div>
<div class="col-sm-6" style="display : <?= $display;?>">
<label for="">Total Due At Signing</label>
<input type="text" class="form-control cust-form-input non-editable-purchase" name="Customerverification[lease_totaldue_signing]" id="customerverification-lease_totaldue_signing" value="<?= @$model->lease_totaldue_signing; ?>" onfocusout="addZeroes(this);" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateRecord(this);"/>
</div>
<div class="col-sm-12">
<hr>
</div>
<div class="col-md-6">
<label for="">Term</label>
<?= $form->field($model, 'customer_Term')->textInput(['class' => 'form-control cust-form-input non-editable-purchase', 'onkeypress'=>'return onlyNumberKey(event, this)', 'onblur'=>'autoUpdateRecord(this), updateLeaseMileageLimit();', 'value' => @$model->customer_Term])->label(false) ?>
</div>
<div class="col-sm-6">
<div class="text-center">
<label for="">Payment</label>
<?= $form->field($model, 'customer_Payment')->textInput(['class' => 'form-control non-editable-purchase baspayment-velue', 'onkeypress'=>'return onlyNumberKey(event, this)', 'onblur'=>'autoUpdateRecord(this);', 'onfocusout' => 'addZeroes(this);', 'value' =>@$model->customer_Payment, 'readonly'=>$model->deal_type == 'Import' ? true : false])->label(false) ?>
</div>
</div>
<div class="col-md-8">
<div class="firstPay-sec text-center">
<?php
// Add 30 days in current date for payment
$currentDate = date('Y-m-d');
$payDate = date('d M y', strtotime($currentDate. ' + 30 days'));
?>
<div class="d-flex">
<label for="datepicker" class="firstpylbl">1st Pay :</label>
<input type="text" name='Customerverification[customer_Daytofirstpayment]' id="customerverification-customer_daytofirstpayment" class="firstpay-date" readonly value="<?php echo $model->customer_Daytofirstpayment != NULL ? date('d M Y', strtotime($model->customer_Daytofirstpayment)) : date('d M Y', strtotime($payDate)); ?>">
<span class="lnr lnr-calendar-full firtpay-clalnder"></span>
</div>
</div>
</div>
<div class="col-sm-12">
<hr>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="infounlock pb-3 mt-2">
<button type="button" class="btn hvr-grow-shadow saveinfoform" title="Unlock" id="purchaseReviewSectionBtn">
<img src="/image/login/unlock-new.svg">
</button>
</div>
</div>
</div>
</div>
</section>
</div>
<?php } ?>
<!-- Purchase section end here -->
<!-- Contract Information section start here -->
<?php if (in_array($setting_section_array[4], $userPrefersTab)) { ?>
<section class="custom-section" id="customerPart">
<div class="container-fluid">
<section>
<div class="custom-purchasereview custom-formsection">
<div class="heading-lablel">
<div class="cust-top-headign">
<h2>Contract Information</h2>
</div>
</div>
<div class="heading-icons">
<img src="/image/login/titlinginformation.svg">
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12 mobileview-section">
<div class="c-form-sections">
<div class="form-group row">
<div class="col-sm-12">
<?php if ($model->customer_Type == 'Person') { ?>
<label for="">Legal Name, Title Address</label>
<?php } else { ?>
<label for="">Company Name, Title Address</label>
<?php } ?>
<div class="yearMake-section">
<div class="row">
<?php if ($model->customer_Type == 'Person') { ?>
<div class="col-md-6">
<?= $form->field($model, 'customer_Firstname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'First Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Firstname])->label(false) ?>
</div>
<div class="col-md-6">
<?= $form->field($model, 'customer_Lastname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'Last Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Lastname])->label(false) ?>
</div>
<?php } else { ?>
<div class="col-md-6">
<?= $form->field($model, 'customer_Lastname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'Company Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Lastname])->label(false) ?>
</div>
<?php } ?>
<div class="col-md-12">
<?= $form->field($model, 'customer_Street')->textInput(['class' => 'form-control cust-form-input non-editable-tileinfo', 'placeholder' => 'Title Address', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Street])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_City')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'City', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_City])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_State')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'State', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_State])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_Zip')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'Zip', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Zip])->label(false) ?>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<label for="">Email <!--<span style="color:red;">*</span>--></label>
<?= $form->field($model, 'customer_Email')->textInput(['class' => 'form-control cust-form-input non-editable-tileinfo', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Email])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Phone</label>
<?= $form->field($model, 'customer_Phone')->textInput(['data-mask' => '000-000-0000', 'class' => 'form-control cust-form-input non-editable-tileinfo', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Phone])->label(false) ?>
</div>
<div class="col-sm-2">
<div class="form-group yesnotog">
<label style="color:#707070 !important;">Co-Signer?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Cosinger]" id="customerverification-customer_cosinger" value="<?php echo $model->customer_Cosinger; ?>" <?php echo ($model->customer_Cosinger == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_cosinger" id="slide">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
<div class="col-sm-3">
<div class="form-group yesnotog">
<label>Vehicle Garaged?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Vehiclegaraged]" id="customerverification-customer_vehiclegaraged" value="<?php echo $model->customer_Vehiclegaraged; ?>" <?php echo ($model->customer_Vehiclegaraged == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_vehiclegaraged">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
<div class="col-sm-4">
<div class="form-group yesnotog">
<label>Are You the Primary Driver?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Primarydriver]" id="customerverification-customer_primarydriver" value="<?php echo $model->customer_Primarydriver; ?>" <?php echo ($model->customer_Primarydriver == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_primarydriver">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
<div class="col-sm-3">
<label for="" style="color:#4A96E9 !important;">How Many Drivers?</label>
<input type="text" class="form-control cust-form-input" name="Customerverification[customer_Numberofdriver]" id="customerverification-customer_numberofdriver" onblur="autoUpdateRecord(this);" value="<?php echo $model->customer_Numberofdriver; ?>">
</div>
</div>
</div>
</div>
<!-- Co-signer Information section start from here -->
<div class="col-md-12 CoSignerForm slidingDiv mt-3 mobileview-section" id="cosignerDataSection" style="display:none;">
<div class="c-form-sections">
<div class="form-group row">
<div class="col-sm-12">
<label for="">Legal Name, Title Address</label>
<div class="yearMake-section">
<div class="row">
<div class="col-md-6">
<?= $form->field($model, 'customer_Cosignerfirstname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'First Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerfirstname])->label(false) ?>
</div>
<div class="col-md-6">
<?= $form->field($model, 'customer_Cosignerlastname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'Last Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerlastname])->label(false) ?>
</div>
<div class="col-md-12">
<?= $form->field($model, 'customer_Cosigneraddress')->textInput(['class' => 'form-control cust-form-input non-editable-tileinfo', 'placeholder' => 'Title Address', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosigneraddress])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_Cosignercity')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'City', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignercity])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_Cosignerstate')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'State', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerstate])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_Cosignerzip')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'Zip', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerzip])->label(false) ?>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<label for="">Email</label>
<?= $form->field($model, 'customer_Cosigneremail')->textInput(['class' => 'form-control cust-form-input non-editable-tileinfo', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosigneremail])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Phone</label>
<?= $form->field($model, 'customer_Cosignerphone')->textInput(['data-mask' => '000-000-0000', 'class' => 'form-control cust-form-input non-editable-tileinfo', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerphone])->label(false) ?>
</div>
<div class="col-sm-4">
<div class="form-group yesnotog">
<label>Are You the Primary Driver?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Cosignerprimarydriver]" id="customerverification-customer_cosignerprimarydriver" value="<?php echo $model->customer_Cosignerprimarydriver; ?>" <?php echo ($model->customer_Cosignerprimarydriver == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_cosignerprimarydriver">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12 mt-3">
<div class="infounlock pb-3">
<button type="button" class="btn hvr-grow-shadow saveinfoform" title="Unlock" id="titleInfoSectionBtn">
<img src="/image/login/unlock-new.svg">
</button>
</div>
</div>
</div>
</div>
</section>
</section>
<?php } ?>
<!-- Contract Information section end here -->
<!-- Insurance Information section start here -->
<?php if (in_array($setting_section_array[5], $userPrefersTab)) { ?>
<section class="custom-section" id="insurancePart">
<div class="container-fluid">
<section>
<div class="custom-purchasereview custom-formsection">
<div class="heading-lablel">
<div class="cust-top-headign">
<h2>Insurance Information</h2>
</div>
</div>
<div class="heading-icons">
<img src="/image/login/insuranceinformation.svg">
</div>
</div>
<div class="container">
<div class="row">
<div class="c-form-sections">
<div class="form-group row">
<div class="col-sm-6">
<label for="">Insurance Company</label>
<?= $form->field($model, 'customer_Insurance')->textInput(['class' => 'form-control cust-form-input non-editable-insurance', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Insurance])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Agent</label>
<?= $form->field($model, 'customer_Agentname')->textInput(['class' => 'form-control cust-form-input non-editable-insurance', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Agentname])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Phone</label>
<?= $form->field($model, 'customer_Agentphone')->textInput(['data-mask' => '000-000-0000', 'class' => 'form-control cust-form-input non-editable-insurance', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Agentphone])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Deductible</label>
<?= $form->field($model, 'customer_Deductable')->textInput(['class' => 'form-control cust-form-input', 'onfocusout' => 'addZeroes(this);', 'onblur' => 'autoUpdateRecord(this); updateGapChart();', 'value' => @$model->customer_Deductable])->label(false) ?>
</div>
<div class="col-sm-4">
<div class="form-group yesnotog">
<label>Full Coverage?</label>
<input type="checkbox" class="toggle" name="Customerverification[customer_Insurancecoverage]" id="customerverification-customer_insurancecoverage" value="<?php echo $model->customer_Insurancecoverage; ?>" <?php echo ($model->customer_Insurancecoverage == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_insurancecoverage">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
</div>
</div>
<div class="col-md-12 mt-3">
<div class="infounlock pb-3">
<button type="button" class="btn hvr-grow-shadow saveinfoform" title="Unlock" id="insuranceInfoSectionBtn">
<img src="/image/login/unlock-new.svg">
</button>
</div>
</div>
</div>
</div>
</section>
</div>
</section>
<?php } ?>
<!-- Insurance Information section end here -->
<!-- Trade Information section start here -->
<?php if ($model->customer_Istrade == 1) { ?>
<?php if (in_array($setting_section_array[6], $userPrefersTab)) { ?>
<section class="custom-section" id="tradePart">
<div class="container-fluid">
<section>
<div class="custom-purchasereview custom-formsection">
<div class="heading-lablel">
<div class="cust-top-headign">
<h2>Your Trade</h2>
</div>
</div>
<div class="heading-icons">
<img src="/image/login/titlinginformation.svg">
</div>
</div>
<div class="container">
<div class="row">
<?php foreach ($modelTrade as $key => $row) { ?>
<div class="c-form-sections">
<div class="form-group row">
<div class="col-md-6">
<div class="form-group field-customer_tradevin">
<label for="">VIN</label>
<input type="text" class="customer_tradevin form-control cust-form-input non-editable-trade" name="customer_tradevin" value="<?php echo @$row->customer_tradevin; ?>" placeholder="VIN" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-12">
<label for="">Year, Make, Model</label>
<div class="yearMake-section">
<div class="row">
<div class="col-md-6">
<div class="form-group field-customer_tradeyear">
<input type="text" class="customer_tradeyear form-control cust-form-input non-editable-trade" name="customer_tradeyear" value="<?php echo @$row->customer_tradeyear; ?>" placeholder="Year" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-md-6">
<div class="form-group field-customer_trademake">
<input type="text" class="customer_trademake form-control cust-form-input non-editable-trade" name="customer_trademake" value="<?php echo @$row->customer_trademake; ?>" placeholder="Make" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-md-12">
<div class="form-group field-customer_trademodel">
<input type="text" class="customer_trademodel form-control cust-form-input non-editable-trade" name="customer_trademodel" value="<?php echo @$row->customer_trademodel; ?>" placeholder="Model" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<label for="">Miles</label>
<div class="form-group field-customer_trademiles">
<input type="text" class="customer_trademiles form-control cust-form-input non-editable-trade" name="customer_trademiles" value="<?php echo @$row->customer_trademiles; ?>" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-6">
<label for="">Color</label>
<div class="form-group field-customer_tradecolor">
<input type="text" class="customer_tradecolor form-control cust-form-input non-editable-trade" name="customer_tradecolor" value="<?php echo @$row->customer_tradecolor; ?>" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-6">
<label for="">Payoff Amount</label>
<div class="form-group field-customer_payoffamount">
<input type="text" class="customer_payoffamount form-control cust-form-input non-editable-trade" name="customer_payoffamount" value="<?php echo @$row->customer_payoffamount; ?>" onfocusout="addZeroes(this);" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-6">
<label for="">Payoff Lender</label>
<div class="form-group field-customer_payofflender">
<input type="text" class="customer_payofflender form-control cust-form-input non-editable-trade" name="customer_payofflender" value="<?php echo @$row->customer_payofflender; ?>" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-6">
<label for="">Products We Can Help Cancel</label>
<div class="form-group field-customer_productcancel">
<input type="text" class="customer_productcancel form-control cust-form-input non-editable-trade" name="customer_productcancel" value="<?php echo @$row->customer_productcancel; ?>" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-4">
<div class="form-group yesnotog">
<label>Title Present</label><br/>
<input type="checkbox" id="customer_titlepresent<?php echo $key; ?>" name="customer_titlepresent" class="customer_titlepresent toggle" value="<?= $row->customer_titlepresent; ?>" <?php echo ($row->customer_titlepresent == 1 ? "checked" : '' ); ?> onchange="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');"/>
<label for="customer_titlepresent<?php echo $key; ?>">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
</div>
</div>
<?php } ?>
<div class="col-md-12 mt-3">
<div class="infounlock pb-3">
<button type="button" class="btn hvr-grow-shadow saveinfoform" title="lock" id="tradeSecBtn">
<img src="/image/login/unlock-new.svg">
</button>
</div>
</div>
</div>
</div>
</section>
</div>
</section>
<?php } ?>
<?php } ?>
<!-- Trade Information section start here -->
<!--aks code start-->
<?php if (in_array($setting_section_array[9], $userPrefersTab)) { ?>
<section class="custom-section leaseSection1" id="warrantyPart">
<div class="container-fluid">
<section>
<div class="container">
<div class="custom-purchasereview custom-formsection csutomBoxSec">
<div class="heading-lablel">
<div class="cust-top-headign">
<div class="reviewOf">
REVIEW OF YOUR
</div>
<h2 class="leaseEnd">Lease End Options</h2>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<div class="setTab">
<!-- Nav tabs -->
<ul class="nav nav-tabs leaseTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#home">
<h2>Guaranteed<br/>Purchase Option</h2>
</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu1">
<h2 >Equity <br/> Return</h2>
</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu2">
<h2 >Lease <br/> Turn In </h2>
</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content leaseTabcontent">
<div id="home" class="container tab-pane active"><br>
<p style="font-size:24px;">You can purchase the vehicle at the end of the lease for: <br/> $
<input type="text" class="gu_prInput" name="Customerverification[lease_purchase_vehicle]" id="customerverification-lease_purchase_vehicle" value="<?= @$model->lease_purchase_vehicle; ?>" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateRecord(this);" onfocusout="addZeroes(this);"/>
</p>
</div>
<div id="menu1" class="container tab-pane fade"><br>
<p style="font-size:24px;">You may have the opportunity to Sell the vehicle if the Value is more than the buy out.
</p>
</div>
<div id="menu2" class="container tab-pane fade"><br>
<p style="font-size:24px;">Regardless of the current value you can return your lease and Lease again, Purchase, or Walk away. In this option you may be required to pay a Disposition Fee.</p>
<br/>
<p style="font-size:24px;">This is the most common option</p>
</div>
</div>
</div>
</div>
</section>
</div>
<section>
<div class="container">
<div class="leaseHeadingRow">
<h2>
What to Expect at <span class="leasesvg">Lease Turn In
<span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M7.7,145.6C109,125,299.9,116.2,401,121.3c42.1,2.2,87.6,11.8,87.3,25.7"></path></svg>
</span>
</span>
</h2>
</div>
</div>
</section>
<section class="YourMileage_sec">
<div class="container">
<div class="ymai_2">
<div class="ymai_3">
<div class="row">
<div class="col-md-12">
<div class="yourMigleRow_blue leaseBoxcontent">
<h2>You are required to keep the Mileage
on the vehicle below the Mileage Limit.</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div id="exceed-rate" class="yourMigleRow_red leaseBoxcontent">
<h2>If You Exceed This Limit You Will Be Charged
<input type="text" name="Customerverification[lease_exceed_limit]" id="customerverification-lease_exceed_limit" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateRecord(this);" value="<?= @$model->lease_exceed_limit; ?>" <?php echo $model->deal_type == 'Import' ? 'readonly' : ''; ?>/> /Mile</h2>
</div>
</div>
</div>
</div>
<div class="round_boxm">
<div class="">
<div class="yourMigleRow_grey">
<h2>Your Mileage Limit Is:<br/></h2>
<div class="yml-input">
<input type="text" class="number" name="Customerverification[lease_mileage_limit]" id="customerverification-lease_mileage_limit" value="<?= $mileageLimitValue; ?>" readonly="true"/>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="InspectionH_sec">
<div class="container">
<div class="InspectionHeading">
<h2>The Lease End Inspection</h2>
</div>
</div>
</section>
<section class="Inspector_sec">
<div class="container">
<div class="Inspector_row">
<div class="row">
<div class="col-md-9">
<div class="Inspectorcontent">
<h2>
An Inspector Will Assess The Vehicle For Excess Wear and Damage at Lease End With a Card Similar to This:
</h2>
</div>
</div>
</div>
<div class="Inspectorimg">
<img src="../image/lease_image/image_001.jpg" title="image_001.jpg">
</div>
</div>
</div>
</section>
<section class="InspectionItems_sec">
<div class="container">
<div class="inItem_title">
<h2>Lease End Inspection Items:</h2>
</div>
<div class="itemImgListing">
<div class="itemImgListing_box">
<img src="../image/lease_image/image_002.jpg" title="image_002.jpg">
<div class="map-location leasetooltipicon1">
<span class="map-point"><div class="leaseblink-location1"></div></span>
<div class="map-location-details leasemaploccontent1">
<div class="toolimg">
<img src="../image/lease_image/image_003.jpg" title="image_003.jpg">
</div>
<p class="map-store-name">
Paint Damage, Fading, Rock Chips</p>
</div>
</div>
<div class="map-location leasetooltipicon2">
<span class="map-point"><div class="leaseblink-location2"></div></span>
<div class="map-location-details leasemaploccontent2">
<div class="toolimg">
<img src="../image/lease_image/image_004.jpg" title="image_004.jpg">
</div>
<p class="map-store-name">Wheels and tires free of damage with tread remaining on tires</p>
</div>
</div>
<div class="map-location leasetooltipicon3">
<span class="map-point"><div class="leaseblink-location3"></div></span>
<div class="map-location-details leasemaploccontent3">
<div class="toolimg">
<img src="../image/lease_image/image_005.jpg" title="image_005.jpg">
</div>
<p class="map-store-name">Maintenance must be up to date with Manufacturer's Recommendations</p>
</div>
</div>
<div class="map-location leasetooltipicon4">
<span class="map-point"><div class="leaseblink-location4"></div></span>
<div class="map-location-details leasemaploccontent4">
<div class="toolimg">
<img src="../image/lease_image/image_006.jpg" title="image_006.jpg">
</div>
<p class="map-store-name">Interior free of stains and damage</p>
</div>
</div>
<div class="map-location leasetooltipicon5">
<span class="map-point"><div class="leaseblink-location5"></div></span>
<div class="map-location-details leasemaploccontent5">
<div class="toolimg">
<img src="../image/lease_image/thumbnail-9.jpg" title="image_007.jpg">
</div>
<p class="map-store-name">Both sets of keys</p>
</div>
</div>
<div class="map-location leasetooltipicon6">
<span class="map-point"><div class="leaseblink-location6"></div></span>
<div class="map-location-details leasemaploccontent6">
<div class="toolimg">
<img src="../image/lease_image/image_008.jpg" title="image_008.jpg">
</div>
<p class="map-store-name">Windshield and glass free of chips and cracks</p>
</div>
</div>
<div class="map-location leasetooltipicon7">
<span class="map-point"><div class="leaseblink-location7"></div></span>
<div class="map-location-details leasemaploccontent7">
<div class="toolimg">
<img src="../image/lease_image/image_009.jpg" title="image_009.jpg">
</div>
<p class="map-store-name">Exterior free of Dings, Dents and Scratches</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="anyExcSec">
<div class="container">
<div class="anydamage-title">
<h2>
*Any Excess Wear, Damage, or Repairs will be Billed to You after lease turn in.
</h2>
</div>
</div>
</section>
<section class="btomFinalize_sec">
<div class="container">
<div class="leasefinalize-title">
<h2>
Next, We Will Finalize Your Lease
</h2>
</div>
</div>
</section>
</section>
<?php } ?>
<!--aks code end-->
<?php ActiveForm::end(); ?>
<!-- Background Image display form here -->
<div class="customerformvbg">
<?php
if ($apidetail->stockimage_url != 'default_header_image.jpg') {
$displayImage = '../image/vin/' . $apidetail->stockimage_url;
?>
<div class="customerformbgimg" style="background-image: url('<?= $displayImage; ?>');"></div>
<?php } else { ?>
<div class="customerformbgimg" style="background-image: url(../image/default_header_image.jpg);"></div>
<?php } ?>
</div>
</section>
</div>
</div>
<?php
if (!empty($menuURL['menu_url'])) {
$menu_url = $menuURL['menu_url'];
$target = '_blank';
} else {
$menu_url = 'javascript:;';
$target = '';
}
?>
<div class="moveup" id="menuSys">
<div class="container">
<div class="continue_to_menuSys text-center">
<i class="fas fa-car" aria-hidden="true"></i>
<h3 class="premium-icon-box-title">Continue to Menu</h3>
<a class="premium-icon-box-link" href="<?php echo $menu_url; ?>" target="<?php echo $target; ?>">Click Here</a>
<i aria-hidden="true" class="fas fa-car hover_icon"></i>
</div>
</div>
</div>
</section>
</section>
<!-- sovin code for Display Presentation Option start here -->
<!-- Import Modal Box pop-up start here for preference tab -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="dealModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg inportmodel" role="document">
<div class="modal-content">
<div class="modal-header" style="border-radius: 10px 10px 0px 0px;">
<h5 class="modal-title" id="dealModalLabel"><span class="import-heading"></span></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true" class="closeModel">×</span>
</button>
</div>
<div>
<?php
$form = ActiveForm::begin(['id' => '',
'options' => [
'autocomplete' => 'off',
'method' => 'post',
],
'action' => '/presentation/presentmodal',
]);
?>
<fieldset id="import-1" style="display:block;">
<div class="modal-body" style="margin: 10px 0px;">
<div class="white-bg upper-new w100 btn-group btn-toggle">
<div class="row">
<div class="col-md-12 mb-2">
<h6 class="ml-2 mr-2">Presentation Sections To Show:
<img src="../image/login/unlock-new.svg" id="lockImgPresentLease" class="float-right" style="cursor:pointer;width:23px" title="Unlock">
</h6>
</div>
<div class="col-md-12 d-flex justify-content-between" id="userPreferPresent">
<?php foreach ($userPreferences as $userPreference): ?>
<div class="sectionHide" style="display:none;">
<?php
if ($userPreference->menu_name == 'Vehicle' || $userPreference->menu_name == 'Interview' || $userPreference->menu_name == 'Gap') {
?>
<input type="checkbox" id='preferCheckPresent' name="user_Prefer[]"
value="<?= $userPreference->menu_id ?>" class="non-editable-vehicle" checked>
<p><?= $userPreference->menu_name ?></p>
<?php } ?>
</div>
<?php if (in_array($userPreference->menu_name, Yii::$app->params['PRESENTATION_DISPLAY_ARR_L'])) {
?>
<div class="white-raido-box checkbox" id='preference-sectin-<?= $userPreference->menu_id ?>'>
<input type="checkbox" id='preferCheckPresent' name="user_PreferLease[]" <?php if (in_array($userPreference->menu_id, $idArrayTabs)) {
echo 'checked';
} ?>
value="<?= $userPreference->menu_id ?>" class="non-editable-vehicle">
<p><?= $userPreference->menu_name == 'Deal Review' ? 'Lease Review' : $userPreference->menu_name ?></p>
</div>
<?php } endforeach; ?>
</div>
</div>
<span id="tabErrorPresent"></span>
</div>
<input type="hidden" id="deal" value="<?= $dealType; ?>">
<input type="hidden" id="dealNo" value="<?= $model->customer_Dealnumber; ?>">
<input type="hidden" id="customerId" name="customerId" value="<?= $model->customer_Id; ?>">
<input type="hidden" id="lifetime_value" name="lifetime_value" value="<?= $powertrainWarrantyValue; ?>">
<input type="hidden" id="dealCreatedDate" value="<?= $model->customer_Createdon; ?>">
<input type="hidden" id="dealPullDate" value="<?= $model->customer_Dealdate; ?>">
<input type="hidden" id="dealScrollTime" value="">
<input type="hidden" id="vehicleScrollTimeStart" value="">
<input type="hidden" id="vehicleScrollTimeEnd" value="">
<input type="hidden" id="dealScrollTimeStart" value="">
<input type="hidden" id="dealScrollTimeEnd" value="">
<input type="hidden" id="customerScrollTimeStart" value="">
<input type="hidden" id="customerScrollTimeEnd" value="">
<input type="hidden" id="insuranceScrollTimeStart" value="">
<input type="hidden" id="insuranceScrollTimeEnd" value="">
<input type="hidden" id="tradeScrollTimeStart" value="">
<input type="hidden" id="tradeScrollTimeEnd" value="">
<input type="hidden" id="warrantyScrollTimeStart" value="">
<input type="hidden" id="warrantyScrollTimeEnd" value="">
<div class="form-group">
<input type="hidden" name="loginId" id="loginId" value="<?php echo $idArrayLoginId; ?>">
<input type="hidden" id="dealtype" name="dealType" value="<?php echo $idArrayDealType; ?>">
<input type="hidden" id="url" name="url" value="<?= Url::current(); ?>"
</div>
</div>
</div>
<div class="modal-footer gobtn text-right">
<input type="button" id="dealCancelBtn" class="btn" style="display:block;" value="Cancel">
<input type="submit" id="presentTabLease" class="btn" value="Save">
<button style="display:none;" id="importLoader" class="btn btn-primary">
<span class="spinner-grow spinner-grow-sm"></span>
Loading..
</button>
</div>
</fieldset>
<?php ActiveForm::end(); ?>
</div>
</div>
</div>
</div>
<!-- sovin code for Display Presentation Option end here -->
Did this file decode correctly?
Original Code
<?php
use yii\helpers\Html;
use yii\bootstrap4\ActiveForm;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $model common\models\Customerverification */
/* @var $form ActiveForm */
$this->registerJsFile('/js/jquery.min.js', ['position' => \yii\web\View::POS_END]);
$this->registerJsFile('/js/presentation.js', ['position' => \yii\web\View::POS_END]);
$this->registerJsFile('/js/customerform.js', ['position' => \yii\web\View::POS_END]);
$this->registerJsFile('/js/customer.js', ['position' => \yii\web\View::POS_END]);
$dealType = substr($model->customer_Purchasetype, 0, 1);
$setting_section_array = \yii::$app->params['PREFERENCE_SECTION_ARR'];
if (isset($userPreferCustomer)) {
$userPrefersTab = $userPreferCustomer;
} else {
$userPrefersTab = $userSavedPrefers;
}
if( $model->lease_mileage_limit != null && strpos($model->lease_mileage_limit, ',') !== false ) {
$mileageLimitValue = $model->lease_mileage_limit;
} else {
$mileageLimitValue = number_format($model->lease_mileage_limit);
}
/* Total Due at Signing input box display only for CDK, DealerBuilt and DealerTrack */
if($model->customer_Recordsource == Yii::$app->params['Automate']) {
$display = 'none';
} elseif($model->customer_Recordsource == Yii::$app->params['AutoSoft']) {
$display = 'none';
}else {
$display = 'block';
}
$powertrainWarrantyValue = \backend\models\GeneralSetting::getPowertrainWarranty($powertrainFlag);
?>
<style>
input[type='radio']:disabled
{
cursor: not-allowed !important;
}
</style>
<section id="content-wrapper" class="fullcontentwrapper">
<!-- Headber Tab section start here -->
<div class="main-result onscrollChangetab" >
<div class="row">
<div class="col-md-8">
<ul class="nav nav-tabs custominfotab" id="warrantyTab">
<!-- Customer Verification Tab-->
<li class="nav-item fullscreen">
<a class="nav-link active" href="#Customerinformation" >
<span class="icon-customer-info presentationicons"></span> Customer Information</a>
</li>
<!-- Factory warranty Tab-->
<li class="nav-item hideleft fullscreen">
<a class="nav-link FactoryWarranty-nav" href="#warrantyPart"><span class="icon-fac-warranty presentationicons"></span> Factory Warranty</a>
</li>
</ul>
</div>
<div class="col-md-4">
<ul class="nav nav-tabs custominfotab d-flex justify-content-end" id="warrantyTab">
<!-- Customer Verification Tab-->
<li class="nav-item hideleft fullscreen">
<a class="nav-link custom-display" data-toggle="modal" href="#" data-target="#myModal" ><i class="fas fa-tv fa-2x mr-3"></i>Presentation Display</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Headber Tab section end here -->
<div class="custominfosec mt-3">
<div class=" one-page-landing leaseBGimg">
<div class="removescreen" title="Fit Screen"><img src="/image/login/zoom-out.svg"></div>
<div class="cutomermainwrp smothscrool customerfrom-wrap">
<section class="usersection customerformupdte cusotmer-form-main" id="Customerinformation">
<!-- Heading with Banner Image start here -->
<div class="customerinfobannernew leasecarBannder">
<div class="container-fluid">
<div class="row justify-content-center align-items-center testrowcustomer">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<h1 class="theme-title maintitle1 custommainheding white-border">
<span class="customrevi">Congratulations <span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none">
<path d="M7.7,145.6C109,125,299.9,116.2,401,121.3c42.1,2.2,87.6,11.8,87.3,25.7"></path>
</svg>
</span>
</span>On Your New Lease
</h1>
</div>
</div>
</div>
</div>
<!-- Heading with Banner Image end here -->
<?php
$form = ActiveForm::begin(
[
'id' => 'customer-verification-form',
'action' => ['/customer/update?id=' . base64_encode($model->customer_Id)],
'options' => [
'class' => 'comment-form',
'error' => 'infoformcontainer'
]
]);
?>
<!-- Purchase section end here -->
<?php if (in_array($setting_section_array[3], $userPrefersTab)) { ?>
<section class="custom-section" id="dealReviewPart">
<input type="hidden" id="customer-id" value="<?= $model->customer_Id; ?>"/>
<input type="hidden" id="deal-type" value="<?= $dealType; ?>"/>
<input type="hidden" id="vehicle-type" value="<?= $model->customer_Vehicletype; ?>"/>
<input type="hidden" id="vehicle-mileage" value="<?= $model->customer_Miles; ?>"/>
<div class="container-fluid">
<section>
<div class="custom-purchasereview custom-formsection">
<div class="heading-lablel">
<div class="cust-top-headign">
<h2>Lease Review</h2>
</div>
</div>
<div class="heading-icons">
<img src="/image/login/purchasereview.svg">
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<div class="col-md-12 mobileview-section mb-3 pr-1">
<div class="c-form-sections">
<div class="row">
<div class="col-md-8">
<div class="white-bg upper-new w100">
<div class="row">
<div class="col-md-6">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Vehicletype]" id="customer_vehicletype_new" value="New" checked="">
<p>New</p>
</div>
</div>
<div class="col-md-6">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Vehicletype]" id="customer_vehicletype_used" value="Used" disabled="true">
<p>Used</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="white-bg">
<div class="row">
<div class="col-md-4">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Purchasetype]" value="Cash" disabled="true">
<p>Cash</p>
</div>
</div>
<div class="col-md-4">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Purchasetype]" value="Finance" disabled="true">
<p>Finance</p>
</div>
</div>
<div class="col-md-4">
<div class="white-raido-box">
<input type="radio" name="Customerverification[customer_Purchasetype]" value="Lease" <?php echo $dealType == 'L' ? 'checked' : ''; ?>>
<p>Lease</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12 mobileview-section mb-3 pr-1">
<div class="c-form-sections">
<div class="row">
<div class="col-md-6">
<label for="">Mileage Allowed</label>
<?= $form->field($model, 'lease_mileage_allowed')->textInput(['class' => 'form-control cust-form-input non-editable-purchase', 'onkeypress'=>'return onlyNumberKey(event, this)', 'onblur'=>'autoUpdateRecord(this), updateLeaseMileageLimit();', 'value' => @$model->lease_mileage_allowed])->label(false) ?>
</div>
</div>
</div>
</div>
<div id="" class="col-md-12 mt-2 mobileview-section pr-3">
<div class="c-form-sections cash-deal-show-sec">
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12">
<div class="yesnotog">
<label>If the lender required an additional $1000-2000 down would those funds be available?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Additionalamount]" id="customerverification-customer_additionalamount" value="<?= $model->customer_Additionalamount; ?>" <?php echo ($model->customer_Additionalamount == '1' ? "checked" : '' ); ?>/>
<label for="customerverification-customer_additionalamount">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 mobileview-section">
<div class="c-form-sections price-breackup-form lease_ctm_form">
<div class="row">
<div class="col-sm-8">
<label for="">Sale Price</label>
<?= $form->field($model, 'customer_Bestprice')->textInput(['class' => 'form-control cust-form-input non-editable-purchase', 'onkeypress' => 'return onlyNumberKey(event, this)', 'onfocusout' => 'addZeroes(this);', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Bestprice])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Rebates</label>
<input type="text" class="form-control cust-form-input non-editable-purchase" name="Customerverification[customer_Rebate]" id="customerverification-customer_rebate" value="<?= @$model->customer_Rebate; ?>" onfocusout="addZeroes(this);" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateRecord(this);"/>
</div>
<div class="col-sm-6" style="display : <?= $display;?>">
<label for="">Total Due At Signing</label>
<input type="text" class="form-control cust-form-input non-editable-purchase" name="Customerverification[lease_totaldue_signing]" id="customerverification-lease_totaldue_signing" value="<?= @$model->lease_totaldue_signing; ?>" onfocusout="addZeroes(this);" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateRecord(this);"/>
</div>
<div class="col-sm-12">
<hr>
</div>
<div class="col-md-6">
<label for="">Term</label>
<?= $form->field($model, 'customer_Term')->textInput(['class' => 'form-control cust-form-input non-editable-purchase', 'onkeypress'=>'return onlyNumberKey(event, this)', 'onblur'=>'autoUpdateRecord(this), updateLeaseMileageLimit();', 'value' => @$model->customer_Term])->label(false) ?>
</div>
<div class="col-sm-6">
<div class="text-center">
<label for="">Payment</label>
<?= $form->field($model, 'customer_Payment')->textInput(['class' => 'form-control non-editable-purchase baspayment-velue', 'onkeypress'=>'return onlyNumberKey(event, this)', 'onblur'=>'autoUpdateRecord(this);', 'onfocusout' => 'addZeroes(this);', 'value' =>@$model->customer_Payment, 'readonly'=>$model->deal_type == 'Import' ? true : false])->label(false) ?>
</div>
</div>
<div class="col-md-8">
<div class="firstPay-sec text-center">
<?php
// Add 30 days in current date for payment
$currentDate = date('Y-m-d');
$payDate = date('d M y', strtotime($currentDate. ' + 30 days'));
?>
<div class="d-flex">
<label for="datepicker" class="firstpylbl">1st Pay :</label>
<input type="text" name='Customerverification[customer_Daytofirstpayment]' id="customerverification-customer_daytofirstpayment" class="firstpay-date" readonly value="<?php echo $model->customer_Daytofirstpayment != NULL ? date('d M Y', strtotime($model->customer_Daytofirstpayment)) : date('d M Y', strtotime($payDate)); ?>">
<span class="lnr lnr-calendar-full firtpay-clalnder"></span>
</div>
</div>
</div>
<div class="col-sm-12">
<hr>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="infounlock pb-3 mt-2">
<button type="button" class="btn hvr-grow-shadow saveinfoform" title="Unlock" id="purchaseReviewSectionBtn">
<img src="/image/login/unlock-new.svg">
</button>
</div>
</div>
</div>
</div>
</section>
</div>
<?php } ?>
<!-- Purchase section end here -->
<!-- Contract Information section start here -->
<?php if (in_array($setting_section_array[4], $userPrefersTab)) { ?>
<section class="custom-section" id="customerPart">
<div class="container-fluid">
<section>
<div class="custom-purchasereview custom-formsection">
<div class="heading-lablel">
<div class="cust-top-headign">
<h2>Contract Information</h2>
</div>
</div>
<div class="heading-icons">
<img src="/image/login/titlinginformation.svg">
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12 mobileview-section">
<div class="c-form-sections">
<div class="form-group row">
<div class="col-sm-12">
<?php if ($model->customer_Type == 'Person') { ?>
<label for="">Legal Name, Title Address</label>
<?php } else { ?>
<label for="">Company Name, Title Address</label>
<?php } ?>
<div class="yearMake-section">
<div class="row">
<?php if ($model->customer_Type == 'Person') { ?>
<div class="col-md-6">
<?= $form->field($model, 'customer_Firstname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'First Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Firstname])->label(false) ?>
</div>
<div class="col-md-6">
<?= $form->field($model, 'customer_Lastname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'Last Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Lastname])->label(false) ?>
</div>
<?php } else { ?>
<div class="col-md-6">
<?= $form->field($model, 'customer_Lastname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'Company Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Lastname])->label(false) ?>
</div>
<?php } ?>
<div class="col-md-12">
<?= $form->field($model, 'customer_Street')->textInput(['class' => 'form-control cust-form-input non-editable-tileinfo', 'placeholder' => 'Title Address', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Street])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_City')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'City', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_City])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_State')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'State', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_State])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_Zip')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'Zip', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Zip])->label(false) ?>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<label for="">Email <!--<span style="color:red;">*</span>--></label>
<?= $form->field($model, 'customer_Email')->textInput(['class' => 'form-control cust-form-input non-editable-tileinfo', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Email])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Phone</label>
<?= $form->field($model, 'customer_Phone')->textInput(['data-mask' => '000-000-0000', 'class' => 'form-control cust-form-input non-editable-tileinfo', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Phone])->label(false) ?>
</div>
<div class="col-sm-2">
<div class="form-group yesnotog">
<label style="color:#707070 !important;">Co-Signer?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Cosinger]" id="customerverification-customer_cosinger" value="<?php echo $model->customer_Cosinger; ?>" <?php echo ($model->customer_Cosinger == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_cosinger" id="slide">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
<div class="col-sm-3">
<div class="form-group yesnotog">
<label>Vehicle Garaged?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Vehiclegaraged]" id="customerverification-customer_vehiclegaraged" value="<?php echo $model->customer_Vehiclegaraged; ?>" <?php echo ($model->customer_Vehiclegaraged == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_vehiclegaraged">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
<div class="col-sm-4">
<div class="form-group yesnotog">
<label>Are You the Primary Driver?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Primarydriver]" id="customerverification-customer_primarydriver" value="<?php echo $model->customer_Primarydriver; ?>" <?php echo ($model->customer_Primarydriver == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_primarydriver">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
<div class="col-sm-3">
<label for="" style="color:#4A96E9 !important;">How Many Drivers?</label>
<input type="text" class="form-control cust-form-input" name="Customerverification[customer_Numberofdriver]" id="customerverification-customer_numberofdriver" onblur="autoUpdateRecord(this);" value="<?php echo $model->customer_Numberofdriver; ?>">
</div>
</div>
</div>
</div>
<!-- Co-signer Information section start from here -->
<div class="col-md-12 CoSignerForm slidingDiv mt-3 mobileview-section" id="cosignerDataSection" style="display:none;">
<div class="c-form-sections">
<div class="form-group row">
<div class="col-sm-12">
<label for="">Legal Name, Title Address</label>
<div class="yearMake-section">
<div class="row">
<div class="col-md-6">
<?= $form->field($model, 'customer_Cosignerfirstname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'First Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerfirstname])->label(false) ?>
</div>
<div class="col-md-6">
<?= $form->field($model, 'customer_Cosignerlastname')->textInput(['class' => 'form-control cust-form-input font-weight-bold non-editable-tileinfo', 'placeholder' => 'Last Name', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerlastname])->label(false) ?>
</div>
<div class="col-md-12">
<?= $form->field($model, 'customer_Cosigneraddress')->textInput(['class' => 'form-control cust-form-input non-editable-tileinfo', 'placeholder' => 'Title Address', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosigneraddress])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_Cosignercity')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'City', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignercity])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_Cosignerstate')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'State', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerstate])->label(false) ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'customer_Cosignerzip')->textInput(['class' => 'form-control cust-form-input ymm-lastinput non-editable-tileinfo', 'placeholder' => 'Zip', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerzip])->label(false) ?>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<label for="">Email</label>
<?= $form->field($model, 'customer_Cosigneremail')->textInput(['class' => 'form-control cust-form-input non-editable-tileinfo', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosigneremail])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Phone</label>
<?= $form->field($model, 'customer_Cosignerphone')->textInput(['data-mask' => '000-000-0000', 'class' => 'form-control cust-form-input non-editable-tileinfo', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Cosignerphone])->label(false) ?>
</div>
<div class="col-sm-4">
<div class="form-group yesnotog">
<label>Are You the Primary Driver?</label><br/>
<input type="checkbox" class="toggle" name="Customerverification[customer_Cosignerprimarydriver]" id="customerverification-customer_cosignerprimarydriver" value="<?php echo $model->customer_Cosignerprimarydriver; ?>" <?php echo ($model->customer_Cosignerprimarydriver == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_cosignerprimarydriver">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12 mt-3">
<div class="infounlock pb-3">
<button type="button" class="btn hvr-grow-shadow saveinfoform" title="Unlock" id="titleInfoSectionBtn">
<img src="/image/login/unlock-new.svg">
</button>
</div>
</div>
</div>
</div>
</section>
</section>
<?php } ?>
<!-- Contract Information section end here -->
<!-- Insurance Information section start here -->
<?php if (in_array($setting_section_array[5], $userPrefersTab)) { ?>
<section class="custom-section" id="insurancePart">
<div class="container-fluid">
<section>
<div class="custom-purchasereview custom-formsection">
<div class="heading-lablel">
<div class="cust-top-headign">
<h2>Insurance Information</h2>
</div>
</div>
<div class="heading-icons">
<img src="/image/login/insuranceinformation.svg">
</div>
</div>
<div class="container">
<div class="row">
<div class="c-form-sections">
<div class="form-group row">
<div class="col-sm-6">
<label for="">Insurance Company</label>
<?= $form->field($model, 'customer_Insurance')->textInput(['class' => 'form-control cust-form-input non-editable-insurance', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Insurance])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Agent</label>
<?= $form->field($model, 'customer_Agentname')->textInput(['class' => 'form-control cust-form-input non-editable-insurance', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Agentname])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Phone</label>
<?= $form->field($model, 'customer_Agentphone')->textInput(['data-mask' => '000-000-0000', 'class' => 'form-control cust-form-input non-editable-insurance', 'onblur' => 'autoUpdateRecord(this);', 'value' => @$model->customer_Agentphone])->label(false) ?>
</div>
<div class="col-sm-6">
<label for="">Deductible</label>
<?= $form->field($model, 'customer_Deductable')->textInput(['class' => 'form-control cust-form-input', 'onfocusout' => 'addZeroes(this);', 'onblur' => 'autoUpdateRecord(this); updateGapChart();', 'value' => @$model->customer_Deductable])->label(false) ?>
</div>
<div class="col-sm-4">
<div class="form-group yesnotog">
<label>Full Coverage?</label>
<input type="checkbox" class="toggle" name="Customerverification[customer_Insurancecoverage]" id="customerverification-customer_insurancecoverage" value="<?php echo $model->customer_Insurancecoverage; ?>" <?php echo ($model->customer_Insurancecoverage == '1' ? "checked" : '' ); ?> <?php if ($model->isNewRecord) {
echo 'checked';
} ?>/>
<label for="customerverification-customer_insurancecoverage">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
</div>
</div>
<div class="col-md-12 mt-3">
<div class="infounlock pb-3">
<button type="button" class="btn hvr-grow-shadow saveinfoform" title="Unlock" id="insuranceInfoSectionBtn">
<img src="/image/login/unlock-new.svg">
</button>
</div>
</div>
</div>
</div>
</section>
</div>
</section>
<?php } ?>
<!-- Insurance Information section end here -->
<!-- Trade Information section start here -->
<?php if ($model->customer_Istrade == 1) { ?>
<?php if (in_array($setting_section_array[6], $userPrefersTab)) { ?>
<section class="custom-section" id="tradePart">
<div class="container-fluid">
<section>
<div class="custom-purchasereview custom-formsection">
<div class="heading-lablel">
<div class="cust-top-headign">
<h2>Your Trade</h2>
</div>
</div>
<div class="heading-icons">
<img src="/image/login/titlinginformation.svg">
</div>
</div>
<div class="container">
<div class="row">
<?php foreach ($modelTrade as $key => $row) { ?>
<div class="c-form-sections">
<div class="form-group row">
<div class="col-md-6">
<div class="form-group field-customer_tradevin">
<label for="">VIN</label>
<input type="text" class="customer_tradevin form-control cust-form-input non-editable-trade" name="customer_tradevin" value="<?php echo @$row->customer_tradevin; ?>" placeholder="VIN" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-12">
<label for="">Year, Make, Model</label>
<div class="yearMake-section">
<div class="row">
<div class="col-md-6">
<div class="form-group field-customer_tradeyear">
<input type="text" class="customer_tradeyear form-control cust-form-input non-editable-trade" name="customer_tradeyear" value="<?php echo @$row->customer_tradeyear; ?>" placeholder="Year" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-md-6">
<div class="form-group field-customer_trademake">
<input type="text" class="customer_trademake form-control cust-form-input non-editable-trade" name="customer_trademake" value="<?php echo @$row->customer_trademake; ?>" placeholder="Make" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-md-12">
<div class="form-group field-customer_trademodel">
<input type="text" class="customer_trademodel form-control cust-form-input non-editable-trade" name="customer_trademodel" value="<?php echo @$row->customer_trademodel; ?>" placeholder="Model" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<label for="">Miles</label>
<div class="form-group field-customer_trademiles">
<input type="text" class="customer_trademiles form-control cust-form-input non-editable-trade" name="customer_trademiles" value="<?php echo @$row->customer_trademiles; ?>" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-6">
<label for="">Color</label>
<div class="form-group field-customer_tradecolor">
<input type="text" class="customer_tradecolor form-control cust-form-input non-editable-trade" name="customer_tradecolor" value="<?php echo @$row->customer_tradecolor; ?>" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-6">
<label for="">Payoff Amount</label>
<div class="form-group field-customer_payoffamount">
<input type="text" class="customer_payoffamount form-control cust-form-input non-editable-trade" name="customer_payoffamount" value="<?php echo @$row->customer_payoffamount; ?>" onfocusout="addZeroes(this);" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-6">
<label for="">Payoff Lender</label>
<div class="form-group field-customer_payofflender">
<input type="text" class="customer_payofflender form-control cust-form-input non-editable-trade" name="customer_payofflender" value="<?php echo @$row->customer_payofflender; ?>" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-6">
<label for="">Products We Can Help Cancel</label>
<div class="form-group field-customer_productcancel">
<input type="text" class="customer_productcancel form-control cust-form-input non-editable-trade" name="customer_productcancel" value="<?php echo @$row->customer_productcancel; ?>" onblur="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');">
<div class="invalid-feedback"></div>
</div>
</div>
<div class="col-sm-4">
<div class="form-group yesnotog">
<label>Title Present</label><br/>
<input type="checkbox" id="customer_titlepresent<?php echo $key; ?>" name="customer_titlepresent" class="customer_titlepresent toggle" value="<?= $row->customer_titlepresent; ?>" <?php echo ($row->customer_titlepresent == 1 ? "checked" : '' ); ?> onchange="autoUpdateMultiTradeRecord(this, '<?php echo @$row->id; ?>');"/>
<label for="customer_titlepresent<?php echo $key; ?>">
<span class="on">Yes</span>
<span class="off">No</span>
</label>
</div>
</div>
</div>
</div>
<?php } ?>
<div class="col-md-12 mt-3">
<div class="infounlock pb-3">
<button type="button" class="btn hvr-grow-shadow saveinfoform" title="lock" id="tradeSecBtn">
<img src="/image/login/unlock-new.svg">
</button>
</div>
</div>
</div>
</div>
</section>
</div>
</section>
<?php } ?>
<?php } ?>
<!-- Trade Information section start here -->
<!--aks code start-->
<?php if (in_array($setting_section_array[9], $userPrefersTab)) { ?>
<section class="custom-section leaseSection1" id="warrantyPart">
<div class="container-fluid">
<section>
<div class="container">
<div class="custom-purchasereview custom-formsection csutomBoxSec">
<div class="heading-lablel">
<div class="cust-top-headign">
<div class="reviewOf">
REVIEW OF YOUR
</div>
<h2 class="leaseEnd">Lease End Options</h2>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<div class="setTab">
<!-- Nav tabs -->
<ul class="nav nav-tabs leaseTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#home">
<h2>Guaranteed<br/>Purchase Option</h2>
</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu1">
<h2 >Equity <br/> Return</h2>
</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu2">
<h2 >Lease <br/> Turn In </h2>
</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content leaseTabcontent">
<div id="home" class="container tab-pane active"><br>
<p style="font-size:24px;">You can purchase the vehicle at the end of the lease for: <br/> $
<input type="text" class="gu_prInput" name="Customerverification[lease_purchase_vehicle]" id="customerverification-lease_purchase_vehicle" value="<?= @$model->lease_purchase_vehicle; ?>" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateRecord(this);" onfocusout="addZeroes(this);"/>
</p>
</div>
<div id="menu1" class="container tab-pane fade"><br>
<p style="font-size:24px;">You may have the opportunity to Sell the vehicle if the Value is more than the buy out.
</p>
</div>
<div id="menu2" class="container tab-pane fade"><br>
<p style="font-size:24px;">Regardless of the current value you can return your lease and Lease again, Purchase, or Walk away. In this option you may be required to pay a Disposition Fee.</p>
<br/>
<p style="font-size:24px;">This is the most common option</p>
</div>
</div>
</div>
</div>
</section>
</div>
<section>
<div class="container">
<div class="leaseHeadingRow">
<h2>
What to Expect at <span class="leasesvg">Lease Turn In
<span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M7.7,145.6C109,125,299.9,116.2,401,121.3c42.1,2.2,87.6,11.8,87.3,25.7"></path></svg>
</span>
</span>
</h2>
</div>
</div>
</section>
<section class="YourMileage_sec">
<div class="container">
<div class="ymai_2">
<div class="ymai_3">
<div class="row">
<div class="col-md-12">
<div class="yourMigleRow_blue leaseBoxcontent">
<h2>You are required to keep the Mileage
on the vehicle below the Mileage Limit.</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div id="exceed-rate" class="yourMigleRow_red leaseBoxcontent">
<h2>If You Exceed This Limit You Will Be Charged
<input type="text" name="Customerverification[lease_exceed_limit]" id="customerverification-lease_exceed_limit" onkeypress="return onlyNumberKey(event, this)" onblur="autoUpdateRecord(this);" value="<?= @$model->lease_exceed_limit; ?>" <?php echo $model->deal_type == 'Import' ? 'readonly' : ''; ?>/> /Mile</h2>
</div>
</div>
</div>
</div>
<div class="round_boxm">
<div class="">
<div class="yourMigleRow_grey">
<h2>Your Mileage Limit Is:<br/></h2>
<div class="yml-input">
<input type="text" class="number" name="Customerverification[lease_mileage_limit]" id="customerverification-lease_mileage_limit" value="<?= $mileageLimitValue; ?>" readonly="true"/>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="InspectionH_sec">
<div class="container">
<div class="InspectionHeading">
<h2>The Lease End Inspection</h2>
</div>
</div>
</section>
<section class="Inspector_sec">
<div class="container">
<div class="Inspector_row">
<div class="row">
<div class="col-md-9">
<div class="Inspectorcontent">
<h2>
An Inspector Will Assess The Vehicle For Excess Wear and Damage at Lease End With a Card Similar to This:
</h2>
</div>
</div>
</div>
<div class="Inspectorimg">
<img src="../image/lease_image/image_001.jpg" title="image_001.jpg">
</div>
</div>
</div>
</section>
<section class="InspectionItems_sec">
<div class="container">
<div class="inItem_title">
<h2>Lease End Inspection Items:</h2>
</div>
<div class="itemImgListing">
<div class="itemImgListing_box">
<img src="../image/lease_image/image_002.jpg" title="image_002.jpg">
<div class="map-location leasetooltipicon1">
<span class="map-point"><div class="leaseblink-location1"></div></span>
<div class="map-location-details leasemaploccontent1">
<div class="toolimg">
<img src="../image/lease_image/image_003.jpg" title="image_003.jpg">
</div>
<p class="map-store-name">
Paint Damage, Fading, Rock Chips</p>
</div>
</div>
<div class="map-location leasetooltipicon2">
<span class="map-point"><div class="leaseblink-location2"></div></span>
<div class="map-location-details leasemaploccontent2">
<div class="toolimg">
<img src="../image/lease_image/image_004.jpg" title="image_004.jpg">
</div>
<p class="map-store-name">Wheels and tires free of damage with tread remaining on tires</p>
</div>
</div>
<div class="map-location leasetooltipicon3">
<span class="map-point"><div class="leaseblink-location3"></div></span>
<div class="map-location-details leasemaploccontent3">
<div class="toolimg">
<img src="../image/lease_image/image_005.jpg" title="image_005.jpg">
</div>
<p class="map-store-name">Maintenance must be up to date with Manufacturer's Recommendations</p>
</div>
</div>
<div class="map-location leasetooltipicon4">
<span class="map-point"><div class="leaseblink-location4"></div></span>
<div class="map-location-details leasemaploccontent4">
<div class="toolimg">
<img src="../image/lease_image/image_006.jpg" title="image_006.jpg">
</div>
<p class="map-store-name">Interior free of stains and damage</p>
</div>
</div>
<div class="map-location leasetooltipicon5">
<span class="map-point"><div class="leaseblink-location5"></div></span>
<div class="map-location-details leasemaploccontent5">
<div class="toolimg">
<img src="../image/lease_image/thumbnail-9.jpg" title="image_007.jpg">
</div>
<p class="map-store-name">Both sets of keys</p>
</div>
</div>
<div class="map-location leasetooltipicon6">
<span class="map-point"><div class="leaseblink-location6"></div></span>
<div class="map-location-details leasemaploccontent6">
<div class="toolimg">
<img src="../image/lease_image/image_008.jpg" title="image_008.jpg">
</div>
<p class="map-store-name">Windshield and glass free of chips and cracks</p>
</div>
</div>
<div class="map-location leasetooltipicon7">
<span class="map-point"><div class="leaseblink-location7"></div></span>
<div class="map-location-details leasemaploccontent7">
<div class="toolimg">
<img src="../image/lease_image/image_009.jpg" title="image_009.jpg">
</div>
<p class="map-store-name">Exterior free of Dings, Dents and Scratches</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="anyExcSec">
<div class="container">
<div class="anydamage-title">
<h2>
*Any Excess Wear, Damage, or Repairs will be Billed to You after lease turn in.
</h2>
</div>
</div>
</section>
<section class="btomFinalize_sec">
<div class="container">
<div class="leasefinalize-title">
<h2>
Next, We Will Finalize Your Lease
</h2>
</div>
</div>
</section>
</section>
<?php } ?>
<!--aks code end-->
<?php ActiveForm::end(); ?>
<!-- Background Image display form here -->
<div class="customerformvbg">
<?php
if ($apidetail->stockimage_url != 'default_header_image.jpg') {
$displayImage = '../image/vin/' . $apidetail->stockimage_url;
?>
<div class="customerformbgimg" style="background-image: url('<?= $displayImage; ?>');"></div>
<?php } else { ?>
<div class="customerformbgimg" style="background-image: url(../image/default_header_image.jpg);"></div>
<?php } ?>
</div>
</section>
</div>
</div>
<?php
if (!empty($menuURL['menu_url'])) {
$menu_url = $menuURL['menu_url'];
$target = '_blank';
} else {
$menu_url = 'javascript:;';
$target = '';
}
?>
<div class="moveup" id="menuSys">
<div class="container">
<div class="continue_to_menuSys text-center">
<i class="fas fa-car" aria-hidden="true"></i>
<h3 class="premium-icon-box-title">Continue to Menu</h3>
<a class="premium-icon-box-link" href="<?php echo $menu_url; ?>" target="<?php echo $target; ?>">Click Here</a>
<i aria-hidden="true" class="fas fa-car hover_icon"></i>
</div>
</div>
</div>
</section>
</section>
<!-- sovin code for Display Presentation Option start here -->
<!-- Import Modal Box pop-up start here for preference tab -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="dealModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg inportmodel" role="document">
<div class="modal-content">
<div class="modal-header" style="border-radius: 10px 10px 0px 0px;">
<h5 class="modal-title" id="dealModalLabel"><span class="import-heading"></span></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true" class="closeModel">×</span>
</button>
</div>
<div>
<?php
$form = ActiveForm::begin(['id' => '',
'options' => [
'autocomplete' => 'off',
'method' => 'post',
],
'action' => '/presentation/presentmodal',
]);
?>
<fieldset id="import-1" style="display:block;">
<div class="modal-body" style="margin: 10px 0px;">
<div class="white-bg upper-new w100 btn-group btn-toggle">
<div class="row">
<div class="col-md-12 mb-2">
<h6 class="ml-2 mr-2">Presentation Sections To Show:
<img src="../image/login/unlock-new.svg" id="lockImgPresentLease" class="float-right" style="cursor:pointer;width:23px" title="Unlock">
</h6>
</div>
<div class="col-md-12 d-flex justify-content-between" id="userPreferPresent">
<?php foreach ($userPreferences as $userPreference): ?>
<div class="sectionHide" style="display:none;">
<?php
if ($userPreference->menu_name == 'Vehicle' || $userPreference->menu_name == 'Interview' || $userPreference->menu_name == 'Gap') {
?>
<input type="checkbox" id='preferCheckPresent' name="user_Prefer[]"
value="<?= $userPreference->menu_id ?>" class="non-editable-vehicle" checked>
<p><?= $userPreference->menu_name ?></p>
<?php } ?>
</div>
<?php if (in_array($userPreference->menu_name, Yii::$app->params['PRESENTATION_DISPLAY_ARR_L'])) {
?>
<div class="white-raido-box checkbox" id='preference-sectin-<?= $userPreference->menu_id ?>'>
<input type="checkbox" id='preferCheckPresent' name="user_PreferLease[]" <?php if (in_array($userPreference->menu_id, $idArrayTabs)) {
echo 'checked';
} ?>
value="<?= $userPreference->menu_id ?>" class="non-editable-vehicle">
<p><?= $userPreference->menu_name == 'Deal Review' ? 'Lease Review' : $userPreference->menu_name ?></p>
</div>
<?php } endforeach; ?>
</div>
</div>
<span id="tabErrorPresent"></span>
</div>
<input type="hidden" id="deal" value="<?= $dealType; ?>">
<input type="hidden" id="dealNo" value="<?= $model->customer_Dealnumber; ?>">
<input type="hidden" id="customerId" name="customerId" value="<?= $model->customer_Id; ?>">
<input type="hidden" id="lifetime_value" name="lifetime_value" value="<?= $powertrainWarrantyValue; ?>">
<input type="hidden" id="dealCreatedDate" value="<?= $model->customer_Createdon; ?>">
<input type="hidden" id="dealPullDate" value="<?= $model->customer_Dealdate; ?>">
<input type="hidden" id="dealScrollTime" value="">
<input type="hidden" id="vehicleScrollTimeStart" value="">
<input type="hidden" id="vehicleScrollTimeEnd" value="">
<input type="hidden" id="dealScrollTimeStart" value="">
<input type="hidden" id="dealScrollTimeEnd" value="">
<input type="hidden" id="customerScrollTimeStart" value="">
<input type="hidden" id="customerScrollTimeEnd" value="">
<input type="hidden" id="insuranceScrollTimeStart" value="">
<input type="hidden" id="insuranceScrollTimeEnd" value="">
<input type="hidden" id="tradeScrollTimeStart" value="">
<input type="hidden" id="tradeScrollTimeEnd" value="">
<input type="hidden" id="warrantyScrollTimeStart" value="">
<input type="hidden" id="warrantyScrollTimeEnd" value="">
<div class="form-group">
<input type="hidden" name="loginId" id="loginId" value="<?php echo $idArrayLoginId; ?>">
<input type="hidden" id="dealtype" name="dealType" value="<?php echo $idArrayDealType; ?>">
<input type="hidden" id="url" name="url" value="<?= Url::current(); ?>"
</div>
</div>
</div>
<div class="modal-footer gobtn text-right">
<input type="button" id="dealCancelBtn" class="btn" style="display:block;" value="Cancel">
<input type="submit" id="presentTabLease" class="btn" value="Save">
<button style="display:none;" id="importLoader" class="btn btn-primary">
<span class="spinner-grow spinner-grow-sm"></span>
Loading..
</button>
</div>
</fieldset>
<?php ActiveForm::end(); ?>
</div>
</div>
</div>
</div>
<!-- sovin code for Display Presentation Option end here -->
Function Calls
None |
Stats
MD5 | 59770c88008416882798adc513393bd3 |
Eval Count | 0 |
Decode Time | 138 ms |