<?php $__env->startSection('content'); ?>
<div class="wrap pt-3 dashboard">
	<div class="container">
		<div class="row dash_pd">
			<div class="col-lg-12 col-md-12 col-sm-12 col-12 chart_bg">
			    <div class="tab-content">
				    <div id="Transunion" class="container tab-pane active"><br>
				    	<div class="col-lg-12 col-md-12 col-sm-12 col-12 ">
							<h2 class="fs-subtitle text-center"><?php echo e($plan->title); ?> <?php if($plan->basic=='1'){echo 'Basic';}else if($plan->premium=='1'){echo 'Premium';}?></h2>
							<p class="text-center"><b>Review and fill in the field below to begin your Fix Your Credit set up.</b></p>
				    	</div>  	
						<div class="row dash_pd">
							<div class="col-lg-8 col-sm-8 ">
								<p class="per">Personal
									<a href="javascript:;" class="pull-right editPer">Edit</a>
								</p>
								<div class="row perForm">
									<div class="col-lg-6 col-md-6 text-left">
										<div class="form-group">
									      	<label for="First Name">First Name</label>
									      	<input type="text" class="form-control border_btm" id="first_name" placeholder="Enter First Name" name="first_name" value="<?php echo e($user->first_name ?? ''); ?>" disabled>
									      	<span id="errFn" style="color: red;"></span>
									    </div>
									    <div class="form-group">
									      	<label for="Email">Email</label>
									      	<input type="email" class="form-control border_btm" id="email" placeholder="Enter Email Address" name="email" value="<?php echo e($user->email ?? ''); ?>" disabled>
									      	<span id="errMail" style="color: red;"></span>
									    </div>
									    <div class="form-group">
									      	<label for="Address">Address (First Line)</label>
									      	<input type="text" class="form-control border_btm" id="address" placeholder="Enter Address" name="address" value="<?php echo e($user->address ?? ''); ?>" disabled>
									      	<span id="errAdd" style="color: red;"></span>
									    </div>
									</div>
									<div class="col-lg-6 col-md-6 text-left">
										<div class="form-group">
									      	<label for="Last Name">Last Name</label>
									      	<input type="text" class="form-control border_btm" id="last_name" placeholder="Enter Last Name" name="last_name" value="<?php echo e($user->last_name ?? ''); ?>" disabled>
									      	<span id="errLn" style="color: red;"></span>
									    </div>
									    <div class="form-group">
									      	<label for="Phone">Phone Number</label>
									      	<input type="number" class="form-control border_btm" id="phone_number" placeholder="Enter Phone Number" name="phone_number" value="<?php echo e($user->mobile ?? ''); ?>" onkeydown="if(this.value.length==10 && event.keyCode!=8 && event.keyCode!=9) return false;" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');" disabled>
									      	<span id="errPh" style="color: red;"></span>
									    </div>
									    <div class="form-group">
									      	<label for="Zip">Zip</label>
									      	<input type="number" class="form-control border_btm" id="zip_code" placeholder="Enter Zip Code" name="zip _code" value="<?php echo e($user->pincode ?? ''); ?>" onkeydown="if(this.value.length==6 && event.keyCode!=8 && event.keyCode!=9) return false;" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');" disabled>
									      	<span id="errZip" style="color: red;"></span>
									    </div>
									</div>
								</div>
								<p class="per">Security</p>
								<!-- <div class="form-group col-md-6 text-left P0">
							      	<label for="Create Password">Create Password</label>
							      	<input type="password" class="form-control " id="password" placeholder="Enter Your Password" name="password">
							    </div> -->
							    <div class="form-group col-md-6 text-left P0">
							      	<label for="Security Question">Security Question</label>
							      	<select class="form-control" id="security_question" name="security_question">
								        <option value="">Security Question</option>
								        <?php $__currentLoopData = $questions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								        <option value="<?php echo e($value->id); ?>"><?php echo e($value->question); ?></option>
								        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
								    </select>
								    <span id="errSQ" style="color: red;"></span>
							    </div>
							    <div class="form-group col-md-6 text-left P0">
							      	<label for="Security Answer">Security Answer</label>
							      	<input type="text" class="form-control" id="security_answer" placeholder="Enter Security Answer" name="security_answer">
							      	<span id="errSA" style="color: red;"></span>
							    </div>
							    <p class="per">Identity</p>
							    <div class="form-group col-md-6 text-left P0">
							      	<label for="SOCIAL SECURITY">SOCIAL SECURITY #(LAST 4 DIGITS)</label>
							      	<input type="text" class="form-control " id="social_security" placeholder="XXXX" name="social_security" maxlength="9">
							      	<span id="errSS" style="color: red;"></span>
							    </div>
							    <div class="form-group col-md-6 text-left P0">
							      	<label for="DATE OF BIRTH">DATE OF BIRTH</label>
							      	<input type="text" class="form-control date" id="dob" placeholder="DD-MM-YYYY" name="dob">
							      	<span id="errDob" style="color: red;"></span>
							    </div>
							    <input type="button" name="next" class="dash-btn" value="Next" onclick="saveSmartCredit()" />
							</div>
							<div class="col-md-4 col-sm-4 ">
								<input type="hidden" name="credit_plan" id="credit_plan" value="<?php echo e($id); ?>">
								<div class="best_price">
									<p>You Choose</p>
								</div>
								<div class="pricingTable">
									<div class="pricingTable-header">
										<h3 class="title"><?php echo e($plan->title); ?> <?php if($plan->basic=='1'){echo 'Basic';}else if($plan->premium=='1'){echo 'Premium';}?></h3>
									</div>
									<div class="pricing-content">
										<div class="price-value">
											<span class="amount">$<?php echo e($plan->amount); ?> /mo</span>
											<span class="cancel">Cancel anytime</span>
										</div>
										<?php echo $plan->content; ?>

										<div class="credit">
											<span><?php echo e($plan->title); ?></span>
										</div>
										<p><?php echo e($plan->description); ?></p>
									</div>
								</div>
							</div>
						</div>
				    </div>
				</div>
			</div>
		</div>
	</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.frontMaster', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>