<div class="modal-dialog modal-md">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal">&times;</button>
            <h4 class="modal-title"><?  echo $vis_language['TXTTAXRULESETTING']; ?></h4>
        </div>
        <div class="modal-body">
				<form method="post" name="vis_add_tax_sett_form" id="vis_add_tax_sett_form" class="form-horizontal">
				<div class="form-group">
					<label class="col-sm-3 control-label"><?= $vis_language['TXTDOMAIN']; ?></label>
					<div class='col-sm-9'>
						<select class='form-control input-sm selectpicker' name="vis_domain" id="vis_domain" onchange="$('#vis_tax_setting_div').visExecution('load_area',{'vis_module':'setting', 'vis_operation':'new_tax_rule_setting', 'vis_domain_id':$(this).val()})" <? if(count($domain) > 10) echo 'data-live-search="true"' ?> >
							<? for($i=0;$i<count($domain);$i++) echo '<option value="'.$domain[$i]['domain_id'].'">'.$domain[$i]['domain_name'].'</option>'; ?>
						</select>
					</div>
				</div>
				<div id="vis_tax_setting_div">
				 <?  include(VIS_PATH_TEMPLATE.'tax_setting.php');?>
				</div>
				</form>
        </div>
        <div class="modal-footer">	
            <a class="btn btn-default" data-dismiss="modal"><? echo $vis_language['TXTCANCEL']; ?></a>
            <a class="btn btn-primary" onclick="$(this).visExecution('submit_form',{'vis_module':'setting', 'vis_operation':'add_tax_rule_setting', 'vis_form':'vis_add_tax_sett_form'})"><? echo $vis_language['TXTSAVE']; ?></a>
        </div>
    </div>
</div>
<script>
	  $('.selectpicker').selectpicker();
</script>
