Subversion Repositories wpShopGermany4

Rev

Rev 7173 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7173 daniel 1
<?php
2
 
3
    /**
4
     * Template für das Bearbeiten eines Rabattes im Backend
5
     */
6
 
7
    namespace wpsg;
8
 
9
    /** @var wpsg_calculation $oCalculation */
10
    $oCalculation = $this->view['oCalculation'];
11
 
12
    if ($this->getBackendTaxView() === WPSG_NETTO) $strBN = 'NETTO';
13
    else $strBN = 'BRUTTO';
14
 
15
    $arCalculation = $oCalculation->getCalculationArray();
16
 
17
?>
18
 
19
<form id="wpsg_be_discount_form">
20
 
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']); ?>
7179 daniel 22
 
7173 daniel 23
</form>
24
 
25
<script>
26
 
27
    jQuery('#wpsg_be_discount_form').on('submit', function() { return false; } );
28
    jQuery('#be_discount_amount').focus();
29
 
30
</script>