<?php $__env->startSection('content'); ?>

    
<div class="row margin-top-55">
    <div class="col-md-2">
        <?php echo $__env->make('offerings.registration.left_nav', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    </div>
    <div class="col-md-10">
        <div class="gray_container standart-15">
        	<?php if(empty($investment_obj)): ?>
        		<?php echo Form::open(array('id' => 'folio_form')); ?>
            <?php else: ?>
            	<?php echo Form::open(array('method' => 'put', 'id' => 'folio_form')); ?>
            <?php endif; ?>
            <div class="row">
                <div class="col-md-10 col-md-offset-1">
                    <h4 class="head_h4">INVESTOR PROFILE</h4>
                    <p>Since this is your first investment through BANQ, you will need to setup your account at TriPoint Global Equities, LLC. Please complete the following form.</p><br><br>
                    <?php if($errors->has()): ?>
                        <div class="alert alert-danger">
                        <?php foreach ($errors->all() as $row): ?>
                          <div><?php echo $row; ?></div>
                        <?php endforeach; ?>
                        </div>
                    <?php endif; ?>
                    <!-- #messages is where the messages are placed inside -->
<!--                    <div class="form-group">
                        <div class="col-sm-9 col-sm-offset-3">
                            <div id="messages"></div>
                        </div>
                    </div>-->
                    <div class="account_application">
                        <ul>
                        	<li class="label-version-2">
                                <p>Investment objective</p>
                                <div class="check-wrap">                                                                
                                    <label class="btn label-element" data-toggle="tooltip" data-placement="right" data-original-title="Preservation of capital with a primary consideration on current income.">
                                        <span>Current Income</span><?php echo Form::checkbox('investment_obj[]', 'current income', in_array('current income', $investment_obj), array( 'class' => 'tooltip-info label-element', 'data-toggle' => 'tooltip', 'data-placement' => 'right', 'data-original-title' => 'Preservation of capital with a primary consideration on current income.')); ?>
                                    </label>
                                </div>                                
                                <div class="check-wrap">                                                                
                                    <label class="btn label-element" data-toggle="tooltip" data-placement="right" data-original-title="A balance between capital appreciation and current income with the primary consideration being current income.">
                                        <span>Balanced</span><?php echo Form::checkbox('investment_obj[]', 'balanced', in_array('balanced', $investment_obj), array( 'data-toggle' => 'tooltip', 'data-placement' => 'right', 'data-original-title' => 'A balance between capital appreciation and current income with the primary consideration being current income.')); ?>
                                    </label>
                                </div>                                
                                <div class="check-wrap">   
                                    <label class="btn label-element" data-toggle="tooltip" data-placement="right" data-original-title="A balance between capital appreciation and current income with the primary consideration being current income.">
                                        <span>Growth &amp; Income</span><?php echo Form::checkbox('investment_obj[]', 'growth & income', in_array('growth & income', $investment_obj), array( 'data-toggle' => 'tooltip', 'data-placement' => 'right', 'data-original-title' => 'A balance between capital appreciation and current income with the primary consideration being current income.')); ?>
                                    </label>
                                </div>                                    
                                <div class="check-wrap">   
                                    <label class="btn label-element" data-toggle="tooltip" data-placement="right" data-original-title="Capital appreciation through quality equity investments and little or no income.">
                                        <span>Growth</span><?php echo Form::checkbox('investment_obj[]', 'growth', in_array('growth', $investment_obj), array( 'data-toggle' => 'tooltip', 'data-placement' => 'right', 'data-original-title' => 'Capital appreciation through quality equity investments and little or no income.')); ?>
                                    </label>
                                </div>                                
                                <div class="check-wrap">   
                                  	<label class="btn label-element" data-toggle="tooltip" data-placement="right" data-original-title="Maximum capital appreciation with higher risk and little to no income">
                                        <span>Maximum Growth</span><?php echo Form::checkbox('investment_obj[]', 'maximum growth', in_array('maximum growth', $investment_obj), array( 'data-toggle' => 'tooltip', 'data-placement' => 'right', 'data-original-title' => 'Maximum capital appreciation with higher risk and little to no income') ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">   
                                    <label class="btn label-element" data-toggle="tooltip" data-placement="right" data-original-title="Maximum total return involving a higher degree of risk through investment in a broad spectrum of securities">
                                        <span>Speculation</span><?php echo Form::checkbox('investment_obj[]', 'speculation', in_array('speculation', $investment_obj), array( 'data-toggle' => 'tooltip', 'data-placement' => 'right', 'data-original-title' => 'Maximum total return involving a higher degree of risk through investment in a broad spectrum of securities')); ?>
                                    </label>
                                </div>
                            </li>
							
                           	<li class="label-version-3">
                                <p>Investment experience</p>
                                <div class="check-wrap">                                                                
                                    <label class="btn">
                                        <span>Mutual Funds</span><?php echo Form::checkbox('investment_experience[]', 'mutual funds', in_array('mutual funds', $investment_experience) ); ?> 
                                    </label>
                                    <div class="additional-input"><input class="form-control" value="<?php echo !empty($investment_experience['mutual_funds_yrs'])?$investment_experience['mutual_funds_yrs']:Input::old('mutual_funds_yrs')?>" name="investment_experience[mutual_funds_yrs]" type="text" placeholder="yrs"></div>
                                </div>
                                <div class="check-wrap">                                              
                                    <label class="btn">
                                        <span>Variable Products</span><?php echo Form::checkbox('investment_experience[]', 'variable products', in_array('variable products', $investment_experience) ); ?>
                                    </label>
                                    <div class="additional-input"><input class="form-control" value="<?php echo !empty($investment_experience['variable_products_yrs'])?$investment_experience['variable_products_yrs']:Input::old('variable_products_yrs') ?>" name="investment_experience[variable_products_yrs]" type="text" placeholder="yrs"></div>
                                </div>
                                <div class="check-wrap">
                                    <label class="btn">
                                        <span>Bonds</span><?php echo Form::checkbox('investment_experience[]', 'bonds', in_array('bonds', $investment_experience)); ?>
                                    </label>
                                    <div class="additional-input"><input class="form-control" value="<?php echo !empty($investment_experience['bonds_yrs'])?$investment_experience['bonds_yrs']:Input::old('bonds_yrs') ?>" name="investment_experience[bonds_yrs]" type="text" placeholder="yrs"></div>
                                </div>
                                <div class="check-wrap">
                                    <label class="btn">
                                        <span>Stocks</span><?php echo Form::checkbox('investment_experience[]', 'stocks', in_array('stocks', $investment_experience) ); ?>
                                    </label>
                                    <div class="additional-input"><input class="form-control" value="<?php echo !empty($investment_experience['stocks_yrs'])?$investment_experience['stocks_yrs']:Input::old('stocks_yrs') ?>" name="investment_experience[stocks_yrs]" type="text" placeholder="yrs"></div>
                                </div>
                                <div class="check-wrap">
                                    <label class="btn">
                                        <span>Options</span><?php echo Form::checkbox('investment_experience[]', 'options', in_array('options', $investment_experience) ); ?>
                                    </label>
                                    <div class="additional-input"><input class="form-control" type="text" value="<?php echo !empty($investment_experience['options_yrs'])?$investment_experience['options_yrs']:Input::old('options_yrs') ?>"  name="investment_experience[options_yrs]" placeholder="yrs"></div>
                                </div>
                                <div class="check-wrap">
                               	    <label class="btn">
                                        <span>Annuities/Life Insurance</span><?php echo Form::checkbox('investment_experience[]', 'annuities', in_array('annuities', $investment_experience) ); ?>
                                    </label>
                                    <div class="additional-input"><input class="form-control" value="<?php echo !empty($investment_experience['annuities_yrs'])?$investment_experience['annuities_yrs']:Input::old('annuities_yrs') ?>"  name="investment_experience[annuities_yrs]" type="text" placeholder="yrs"></div>
                                </div>
                                <div class="check-wrap">
                               	    <label class="btn">
                                        <span>None</span><?php echo Form::checkbox('investment_experience[]', 'none', in_array('none', $investment_experience) ); ?>
                                    </label>
                                </div>
                            </li>
                         	<li class="label-version-2">
                                <p>Risk Exposure</p>
                                <div class="check-wrap">                                                                
                                    <label class="btn">
                                        <span>Low</span><?php echo Form::radio('risk_exposure', 'low', $risk_exposure == 'low'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">                                                              
                                    <label class="btn">
                                        <span>Moderate</span><?php echo Form::radio('risk_exposure', 'moderate', $risk_exposure == 'moderate'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                              	 <label class="btn">
                                        <span>Aggressive</span><?php echo Form::radio('risk_exposure', 'aggressive', $risk_exposure == 'aggressive'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                               	    <label class="btn">
                                        <span>Speculative</span><?php echo Form::radio('risk_exposure', 'speculative', $risk_exposure == 'speculative'); ?>
                                    </label>
                                </div>
                            </li>
                        	<li class="label-version-2">
                                <p>Investment Knowledge</p>
                                <div class="check-wrap">                                                                
                                    <label class="btn">
                                        <span>Limited</span><?php echo Form::radio('investment_knowledge', 'limited', $investment_knowledge == 'limited'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">                                                              
                                    <label class="btn">
                                        <span>Good</span><?php echo Form::radio('investment_knowledge', 'good', $investment_knowledge == 'good'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                              	 <label class="btn">
                                        <span>Excellent</span><?php echo Form::radio('investment_knowledge', 'excellent', $investment_knowledge == 'excellent'); ?>
                                    </label>
                                </div>
                            </li>
                   			<li class="label-version-2">
                                <p>Source of Account Funding</p>
                                <div class="check-wrap">                                                                
                                    <label class="btn">
                                        <span>Investments</span><?php echo Form::checkbox('source_account_funding[]', 'investments', in_array('investments', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">                                                              
                                    <label class="btn">
                                        <span>Compensation</span><?php echo Form::checkbox('source_account_funding[]', 'compensation', in_array('compensation', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                              	 <label class="btn">
                                        <span>Retirement Assets</span><?php echo Form::checkbox('source_account_funding[]', 'retirement assets', in_array('retirement assets', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                                    <label class="btn">
                                        <span>Gift</span><?php echo Form::checkbox('source_account_funding[]', 'gift', in_array('gift', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                                    <label class="btn">
                                        <span>Donations</span><?php echo Form::checkbox('source_account_funding[]', 'donations', in_array('donations', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                             	  <label class="btn">
                                        <span>Insurant Payout</span><?php echo Form::checkbox('source_account_funding[]', 'insurant payout', in_array('insurant payout', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                             	  <label class="btn">
                                        <span>Inheritance</span><?php echo Form::checkbox('source_account_funding[]', 'inheritance', in_array('inheritance', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                             	  <label class="btn">
                                        <span>Social Security Benefits</span><?php echo Form::checkbox('source_account_funding[]', 'social security benefits', in_array('social security benefits', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
									<label class="btn">
                                        <span>Legal Settlement</span><?php echo Form::checkbox('source_account_funding[]', 'legal settlement',  in_array('legal settlement', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
									<label class="btn">
										<span>Spouse/Parent</span><?php echo Form::checkbox('source_account_funding[]', 'spouse', in_array('spouse', $source_account_funding) ); ?>
									</label>
								</div>
                                <div class="check-wrap">
                             	  <label class="btn">
                                        <span>Lottery/Gaming</span><?php echo Form::checkbox('source_account_funding[]', 'lottery', in_array('lottery', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
									<label class="btn">
                                        <span>Business Revenue</span><?php echo Form::checkbox('source_account_funding[]', 'business revenue', in_array('business revenue', $source_account_funding) ); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                               	    <label class="btn">
                                        <span>Sale of Business Property</span><?php echo Form::checkbox('source_account_funding[]', 'sale of business property', in_array('sale of business property', $source_account_funding) ); ?>
                                    </label>
                                </div>
                            </li>
                           	<li class="label-version-2">
                                <p>Liquidity Needs</p>
								<p class="liquidity-slogan">The timeframe to convert the account to cash without experiencing significant loss in value from the lack of a ready market.</p>
                                <div class="check-wrap">                                                             
                                    <label class="btn">                                    
                                        <span>Less Than One Year</span><?php echo Form::radio('liquidity_needs', '0_1', $liquidity_needs == '0_1'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">>                                                              
                                    <label class="btn">
                                        <span>1 to 5 years</span><?php echo Form::radio('liquidity_needs', '1_5', $liquidity_needs == '1_5'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                              	 <label class="btn">
                                        <span>5 to 10 years</span><?php echo Form::radio('liquidity_needs', '5_10', $liquidity_needs == '5_10'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                                    <label class="btn">
                                        <span>10 to 15 years</span><?php echo Form::radio('liquidity_needs', '10_15', $liquidity_needs == '10_15'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                               	    <label class="btn">
                                        <span>Over 15 years</span><?php echo Form::radio('liquidity_needs', 'over_15', $liquidity_needs == 'over_15'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                                    <label class="btn">
                                        <span>Liquidity Needs Not Applicable</span><?php echo Form::radio('liquidity_needs', 'none', $liquidity_needs == 'none'); ?>
                                    </label>
                                </div>
                            </li>
                         	<li class="label-version-2">
                                <p>Time Horizon</p>
                                <div class="check-wrap">                                                                
                                    <label class="btn">
                                        <span>Short Term - Less than 1 yr.</span><?php echo Form::radio('time_horizon', 'short_term', $time_horizon == 'short_term'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">                                                      
                                    <label class="btn">
                                        <span>Intermediate - 1 - 10 yr.</span><?php echo Form::radio('time_horizon', 'intermediate', $time_horizon == 'intermediate'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">
                              	 <label class="btn">
                                        <span>Long Term - More than 10 yr.</span><?php echo Form::radio('time_horizon', 'long_term', $time_horizon == 'long_term'); ?>
                                    </label>
                                </div>
                            </li>
                         	<li class="label-version-2">
                                <p>Home</p>
                                <div class="check-wrap">                                                               
                                    <label class="btn">
                                        <span>Own</span><?php echo Form::radio('home', 'own', $home == 'own'); ?>
                                    </label>
                                </div>
                                <div class="check-wrap">                                                              
                                    <label class="btn">
                                        <span>Rent</span><?php echo Form::radio('home', 'rent', $home == 'rent'); ?>
                                    </label>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="wrap_next_step">
                <button type="submit" class="btn next_step">NEXT STEP  &nbsp; &#62;</button>
            </div>
           <?php echo Form::close(); ?>
        </div>
    </div><!-- /col-md-10 -->
</div><!-- /row -->

<?php $__env->startSection('scripts'); ?>
<?php echo HTML::style('css/validation/bootstrapValidator.css'); ?>
<?php echo HTML::script('js/validation/bootstrapValidator.min.js'); ?>
<script type="text/javascript">
	$(function() {
		$('.label-element').mouseover(function() {
			$(this).tooltip('show');
		});
		
		$('.label-element').mouseout(function() {
			$(this).tooltip('hide');
		});
		
/*		$('#folio_form').bootstrapValidator({
			container: '#messages',
			feedbackIcons: {
				valid: 'glyphicon glyphicon-ok',
				invalid: 'glyphicon glyphicon-remove',
				validating: 'glyphicon glyphicon-refresh'
			},
			fields: {
				'investment_obj[]': {
							feedbackIcons: 'false',
							validators: {
									choice: {
										min: 1,
										message: 'Please choose at least one Investment objective'
									}
							}
				},
				'investment_experience[]': {
							feedbackIcons: 'false',
								validators: {
										choice: {
											min: 1,
											message: 'Please choose at least one Investment experience'
										}
								}
				}
			}
		})
		.find('input[name="investment_obj[]"], input[name="investment_experience[]"]')
			// Called when the radios/checkboxes are changed
			.on('ifChanged', function(e) {
				// Get the field name
				var field = $(this).attr('name');
				$('#folio_form').bootstrapValidator('revalidateField', field);
			});*/
		
		
/*		$('input[name="investment_obj[]"]').on('ifClicked', function() {	
			var bootstrapValidator = $('#folio_form').data('bootstrapValidator');
			var values = $('input[name="investment_obj[]"]:checkbox:checked').map(function () {
  				return this.value;
			}).get();
			investment_obj = in_array('speculation', values);
			bootstrapValidator.enableFieldValidators('investment_experience[]', investment_obj);	
		});
		
		function in_array(what, where) 
		{
    		for(var i=0, length_array=where.length + 1; i<length_array; i++)
			{
        		if(what == where[i])
            		return true;
			}
			return false;
		
		}*/
	});
</script>
<?php $__env->stopSection(); ?>

<?php $__env->stopSection(); ?>