<?php if (isset($tpl['avail_extra_arr']) && !empty($tpl['avail_extra_arr'])) { ?>
	<div class="pjTbs-box checkbox-ut">
		<?php /**
		<div class="pjTbs-box-title"><?php __('front_choose_extras'); ?> <span class="glyphicon glyphicon-chevron-down"></span></div><!-- /.pjTbs-box-title -->
		<ul class="pjTbs-extras">
			<?php foreach ($tpl['avail_extra_arr'] as $k => $v) { ?>
				<li>
					<div class="row">
						<div class="col-sm-4 col-xs-12">
							<div class="price-ttle-c"><label><?php echo pjSanitize::html($v['name']); ?></label><input type="hidden"></div>
						</div>
						<div class="col-sm-4 col-xs-12">

							<div class="btn-group pjTbs-spinner" role="group" aria-label="...">
								<button style="border-top-left-radius: 8px; border-bottom-left-radius: 8px; background: #ffffff;" type="button" class="btn pjTbs-spinner pjTbs-spinner-down" data-target="extra_<?php echo $v['id']; ?>">-</button>
								<input type="text" name="extra_id[<?php echo $v['id']; ?>]" id="extra_<?php echo $v['id']; ?>" class="pjTbs-spinner-result digits form-control text-center pjTbs-spinner-input" value="<?php echo isset($extra_values[$v['id']]) ? $extra_values[$v['id']] : 0; ?>" maxlength="3" data-price="<?php echo $v['price']; ?>"
									data-per="<?php echo $v['per']; ?>" data-msg-digits="<?php __('front_digits_validation'); ?>">
								<input type="hidden" name="extra_price[<?php echo $v['id']; ?>]" value="<?php echo $v['price']; ?>">
								<input type="hidden" name="extra_per[<?php echo $v['id']; ?>]" value="<?php echo $v['per']; ?>">
								<input type="hidden" name="extra_name[<?php echo $v['id']; ?>]" value="<?php echo pjSanitize::html($v['name']); ?>">
								<button style="border-top-right-radius: 8px; border-bottom-right-radius: 8px; background: #ffffff;" type="button" class="btn pjTbs-spinner pjTbs-spinner-up" data-target="extra_<?php echo $v['id']; ?>">+</button>
							</div>
						</div><!-- /.col-sm-6 -->

						<div class="col-sm-4 col-xs-12 pjTbs-extras-2">
							<span><?php echo pjCurrency::formatPrice($v['price']) . ($v['per'] == 'person' ? ' ' . __('front_per_person', true) : ''); ?></span>
						</div><!-- /.col-sm-6 -->
						<?php
						if ($v['per'] == 'person') {
							$extra_price = $v['price'] * $tpl['passengers'];
						?>
							<div class="col-sm-3 col-xs-12 pjTbs-extras-3">
								<strong><?php echo pjCurrency::formatPrice($extra_price); ?></strong>
							</div><!-- /.col-sm-6 -->
						<?php
						}
						?>
					</div><!-- /.row -->
				</li>
			<?php } ?>
		</ul> 
		 */	?>
		<div class="pjTbs-subtotal">
			<?php
			if($activeTab == 'tab3'){
				$subtotal_get = $tpl['price_arr']['subtotal']*2;
				$tax_get = $tpl['price_arr']['tax']*2;
				$total_get = $tpl['price_arr']['total']*2;
				$deposit_get = $tpl['price_arr']['deposit']*2;
			}else{

				$subtotal_get = $tpl['price_arr']['subtotal'];
				$tax_get = $tpl['price_arr']['tax'];
				$total_get = $tpl['price_arr']['total'];
				$deposit_get = $tpl['price_arr']['deposit'];

			}
			if (isset($tpl['avail_extra_arr']) && !empty($tpl['avail_extra_arr']) && (float) $tpl['price_arr']['extra'] > 0) {
			?>
				<p>
					<span><?php __('front_extras'); ?>:</span>

					<span><?php echo pjCurrency::formatPrice($tpl['price_arr']['extra']); ?></span>
				</p>
			<?php
			}
			?>
			<p>
				<span><?php __('front_subtotal'); ?>:</span>

				<span><?php echo pjCurrency::formatPrice($subtotal_get); ?></span>
			</p>

			<p>
				<span><?php __('front_tax'); ?>:</span>

				<span><?php echo pjCurrency::formatPrice($tax_get); ?></span>
			</p>

			<p>
				<span><?php __('front_total'); ?>:</span>

				<span><?php echo pjCurrency::formatPrice($total_get); ?></span>
			</p>

			<p>
				<span><?php __('front_deposit_required'); ?>:</span>

				<span><?php echo pjCurrency::formatPrice($deposit_get); ?></span>
			</p>
		</div><!-- /.pjTbs-subtotal -->
	</div><!-- /.pjTbs-car -->
<?php } ?>