summaryrefslogtreecommitdiff
path: root/views/mods/mod_autodebit/paymenthint.phtml
blob: 93de573b06d93f627de93f95d5bcc14e24677d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php

	/**
	 * Template für die Integration der Kundeneingaben für das Modul "Bankeinzug" in den Checkout2
	 */
 
?>
<br /><br />
<div class="wpsg_mod_autodebit">
	
	<div class="wpsg_mod_autodebit_inhaber wpsg_mod_autodebit_field">
		<label>
			<?php echo __('Inhaber', 'wpsg'); ?><span class="wpsg_required">*</span>:
			<input class="<?php echo ((in_array("mod_autodebit_inhaber", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg_mod_autodebit[inhaber]" value="<?php echo wpsg_hspc($this->view['wpsg_mod_autodebit']['inhaber']); ?>" />
		</label>
	</div>
	<div class="wpsg_clear"></div>
	
	<?php if ($this->get_option('wpsg_mod_autodebit_iban') == '1') { ?>
	<div class="wpsg_mod_autodebit_bic wpsg_mod_autodebit_field">
		<label>
			<?php echo __('BIC', 'wpsg'); ?><span class="wpsg_required">*</span>:
			<input class="<?php echo ((in_array("mod_autodebit_bic", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg_mod_autodebit[bic]" value="<?php echo wpsg_hspc($this->view['wpsg_mod_autodebit']['bic']); ?>" />
		</label>
	</div>
	<div class="wpsg_clear"></div>
	<?php } else { ?>
	<div class="wpsg_mod_autodebit_blz wpsg_mod_autodebit_field">
		<label>
			<?php echo __('Bankleitzahl', 'wpsg'); ?><span class="wpsg_required">*</span>:
			<input class="<?php echo ((in_array("mod_autodebit_blz", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg_mod_autodebit[blz]" value="<?php echo wpsg_hspc($this->view['wpsg_mod_autodebit']['blz']); ?>" />
		</label>
	</div>
	<div class="wpsg_clear"></div>
	<?php } ?>
	
	<?php if ($this->get_option('wpsg_mod_autodebit_iban') == '1') { ?>
	<div class="wpsg_mod_autodebit_iban wpsg_mod_autodebit_field">
		<label>
			<?php echo __('IBAN', 'wpsg'); ?><span class="wpsg_required">*</span>:
			<input class="<?php echo ((in_array("mod_autodebit_iban", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg_mod_autodebit[iban]" value="<?php echo wpsg_hspc($this->view['wpsg_mod_autodebit']['iban']); ?>" />
		</label>
	</div>
	<div class="wpsg_clear"></div>
	<?php } else { ?>
	<div class="wpsg_mod_autodebit_knr wpsg_mod_autodebit_field">
		<label>
			<?php echo __('Kontonummer', 'wpsg'); ?><span class="wpsg_required">*</span>:
			<input class="<?php echo ((in_array("mod_autodebit_knr", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg_mod_autodebit[knr]" value="<?php echo wpsg_hspc($this->view['wpsg_mod_autodebit']['knr']); ?>" />
		</label>
	</div>
	<div class="wpsg_clear"></div>
	<?php } ?>	

	<div class="wpsg_mod_autodebit_name wpsg_mod_autodebit_field">
		<label>
			<?php echo __('Name der Bank', 'wpsg'); ?><span class="wpsg_required">*</span>:
			<input class="<?php echo ((in_array("mod_autodebit_name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg_mod_autodebit[name]" value="<?php echo wpsg_hspc($this->view['wpsg_mod_autodebit']['name']); ?>" />
		</label>
	</div>
	<div class="wpsg_clear"></div>
	
	<div class="wpsg_mandatoryfield_hint">
		<?php echo wpsg_translate(__('Mit #1# gekennzeichnete Felder sind Pflichtfelder.', 'wpsg'), '<span class="wpsg_required">*</span>'); ?>
	</div>
	
</div>