<?php /* Smarty version 2.6.20, created on 2019-01-29 12:08:53
         compiled from editVat.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'replace', 'editVat.tpl', 49, false),array('modifier', 'escape', 'editVat.tpl', 49, false),)), $this); ?>
<?php echo '    
    <script type="text/javascript"> 
       
        $(document).ready(function() {

            $(\'#iv_ext_editVat\').ajaxForm(function() { 
                floaterClose();
            });

            // prepare Options Object 
            var options = { 
                success:    function(response) { 
                    if (response == 1) {
                      $(\'#defaultVat\').html($(\'#vat\').val());
                    }
                    floaterClose();
                } 
            }; 
            
            // pass options to ajaxForm 
            $(\'#iv_ext_editVat\').ajaxForm(options);

        });
        
    </script>
'; ?>


<div id="floater_innerwrap">

    <div id="floater_handle">
        <span id="floater_title"><?php echo $this->_tpl_vars['kga']['lang']['editVat']; ?>
</span>
        <div class="right">
            <a href="#" class="close" onClick="floaterClose();"><?php echo $this->_tpl_vars['kga']['lang']['close']; ?>
</a>
        </div>  
    </div>

    <div class="floater_content">

        
        <form id="iv_ext_editVat" action="../extensions/ki_invoice/processor.php" method="post">
        <input name="id" type="hidden" value="0" />
        <input name="axAction" type="hidden" value="editVat" />
            <fieldset>   

 

                
                <label for="vat"><?php echo $this->_tpl_vars['kga']['lang']['vat']; ?>
</label>
                <input size="4" name="vat" id="vat" type="text" value="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['kga']['conf']['defaultVat'])) ? $this->_run_mod_handler('replace', true, $_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator']) : smarty_modifier_replace($_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"/> % 

                <div id="formbuttons">
                    <input class='btn_norm' type='button' value='<?php echo $this->_tpl_vars['kga']['lang']['cancel']; ?>
' onClick='floaterClose(); return false;' />
                    <input class='btn_ok' type='submit' value='<?php echo $this->_tpl_vars['kga']['lang']['submit']; ?>
'/>
                </div>

 

            </fieldset>
	</form>
    </div>
</div>