Subversion Repositories wpShopGermany4

Rev

Rev 7486 | Rev 7704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7486 Rev 7490
Line 2... Line 2...
2
 
2
 
3
	/**
3
	/**
4
	 * Template für die Maske eines neuen Gutscheins
4
	 * Template für die Maske eines neuen Gutscheins
5
	 */
5
	 */
6
 
6
 
-
 
7
	$used = 0;
-
 
8
	
-
 
9
	if (wpsg_isSizedInt($_REQUEST['voucher_id'])) {
-
 
10
		
-
 
11
		$oVoucher = wpsg_voucher::getInstance($_REQUEST['voucher_id']);
-
 
12
		
-
 
13
		$used = $oVoucher->getUsedAmount();
-
 
14
		
-
 
15
	}
-
 
16
	
7
?>
17
?>
8
 
18
 
9
<div class="content form-horizontal">
19
<div class="content form-horizontal">
10
 
20
 
11
	<form method="POST" id="wpsg_voucher_form" autocomplete="off">
21
	<form method="POST" id="wpsg_voucher_form" autocomplete="off">
12
 
22
 
13
		<?php wpsg_drawForm_AdminboxStart(); ?>
23
		<?php wpsg_drawForm_AdminboxStart(); ?>
14
			
24
			
15
			<?php echo wpsg_drawForm_Input('wpsg_mod_gutschein_value', __('Betrag', 'wpsg'), wpsg_ff($this->view['mod_gutschein']['value'])); ?>
25
			<?php echo wpsg_drawForm_Input('wpsg_mod_gutschein_value', __('Betrag', 'wpsg'), wpsg_ff($this->view['mod_gutschein']['value'])); ?>
-
 
26
			<?php echo wpsg_drawForm_Input(false, __('Bereits verwendet'), wpsg_ff($used), ['field_id' => 'wpsg_voucher_used', 'readonly' => true]); ?>
16
		
27
		
17
			<div style="margin-top:-15px;"> 
28
			<div style="margin-top:-15px;"> 
18
				<?php echo wpsg_drawForm_Checkbox('wpsg_mod_gutschein_coupon', __('Als Wertgutschein behandeln', 'wpsg'), $this->view['mod_gutschein']['coupon']); ?>
29
				<?php echo wpsg_drawForm_Checkbox('wpsg_mod_gutschein_coupon', __('Als Wertgutschein behandeln', 'wpsg'), $this->view['mod_gutschein']['coupon']); ?>
19
			</div>
30
			</div>
20
		
31