Subversion Repositories wpShopGermany4

Rev

Rev 7173 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7173 Rev 7179
Line 7... Line 7...
7
    namespace wpsg;
7
    namespace wpsg;
8
    
8
    
9
    /** @var wpsg_calculation $oCalculation */
9
    /** @var wpsg_calculation $oCalculation */
10
    $oCalculation = $this->view['oCalculation'];
10
    $oCalculation = $this->view['oCalculation'];
11
    
11
    
12
    $arTax = $oCalculation->getTaxLabelArray();
-
 
13
    
-
 
14
    if ($this->getBackendTaxView() === WPSG_NETTO) $strBN = 'NETTO';
12
    if ($this->getBackendTaxView() === WPSG_NETTO) $strBN = 'NETTO';
15
    else $strBN = 'BRUTTO';
13
    else $strBN = 'BRUTTO';
16
    
14
    
17
    $arCalculation = $oCalculation->getCalculationArray();
15
    $arCalculation = $oCalculation->getCalculationArray();
18
    
16
    
19
?>
17
?>
20
 
18
 
21
<form id="wpsg_be_discount_form">
19
<form id="wpsg_be_discount_form">
22
 
20
 
23
    <?php echo wpsg_drawForm_Input('be_discount_amount', wpsg_translate(__('Rabattwert in #1# (#2#) oder % ', 'wpsg'), $this->get_option('wpsg_currency'), $strBN), @$arCalculation['discount'][0]['set']); ?>
21
    <?php echo wpsg_drawForm_Input('be_discount_amount', wpsg_translate(__('Rabattwert in #1# (#2#) oder % ', 'wpsg'), $this->get_option('wpsg_currency'), $strBN), @$arCalculation['discount'][0]['set']); ?>
24
    <?php echo wpsg_drawForm_Select('be_discount_tax', __('Steuersatz', 'wpsg'), $arTax, @$arCalculation['discount'][0]['tax_key']); ?>
-
 
25
 
22
    
26
</form>
23
</form>
27
 
24
 
28
<script>
25
<script>
29
    
26
    
30
    jQuery('#wpsg_be_discount_form').on('submit', function() { return false; } );
27
    jQuery('#wpsg_be_discount_form').on('submit', function() { return false; } );