<?php if (isset($tpl['subservice_arr']) && count($tpl['subservice_arr']) > 0) { ?>
	<div class="col-sm-6">
		<div class="form-group">
			<label class="control-label"><?php __('pjBookingSubservices'); ?></label>
						
			<select name="subservice_id[]" id="subservice_id" class="select-item form-control" multiple data-msg-required="<?php __('plugin_base_this_field_is_required', false, true);?>">
				<?php
				foreach ($tpl['subservice_arr'] as $v)
				{
					?><option value="<?php echo $v['id']; ?>" <?php echo isset($tpl['bss_arr']) && in_array($v['id'], $tpl['bss_arr']) ? 'selected="selected"' : '';?>><?php echo pjSanitize::html($v['name']); ?></option><?php
				}
				?>
			</select>
		</div>
	</div><!-- /.col-md-3 -->
<?php } ?>