summaryrefslogtreecommitdiff
path: root/views/mods/mod_giropay/settings_edit.phtml
blob: 3d526ca62a92873ac52b0690cbbcfa8f3672e7a0 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php

	/**
	 * Template für die Einstellungen des Moduls "giropay"
	 */

?>
<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_merchantId', __('Verkäufer-ID', 'wpsg'), $this->get_option('wpsg_mod_giropay_merchantId'), array('help' => 'wpsg_mod_giropay_merchantId')); ?>
<?php /* echo wpsg_drawForm_Input('wpsg_mod_giropay_currency', __('Währungscode (Standard: EUR)', 'wpsg'), $this->get_option('wpsg_mod_giropay_currency'), array('help' => 'wpsg_mod_giropay_currency')); */ ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_paystart', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_giropay_paystart'), array('help' => 'wpsg_shippay_paystart')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_subject', __('Verwendungszweck für Zahlungen', 'wpsg'), $this->get_option('wpsg_mod_giropay_subject'), array('help' => 'wpsg_mod_giropay_subject')); ?>
<?php echo wpsg_drawForm_Select('wpsg_mod_giropay_successPage', __('Seite nach erfolgreicher Zahlung', 'wpsg'), $this->view['wpsg_mod_giropay']['arPages'], $this->get_option('wpsg_mod_giropay_successPage'), array('help' => 'wpsg_mod_giropay_successPage')); ?>
<?php echo wpsg_drawForm_Select('wpsg_mod_giropay_errorPage', __('Seite nach fehlgeschlagener Zahlung', 'wpsg'), $this->view['wpsg_mod_giropay']['arPages'], $this->get_option('wpsg_mod_giropay_errorPage'), array('help' => 'wpsg_mod_giropay_errorPage')); ?>
<br />
<div class="wpsg_admin_box" id="wpsg_mod_giropay_giropay">
	<div class="head" style="border-bottom: 0px none;">
		<div class="title">
			<div class="fulltab"><?php echo __('GiroCheckout - giropay', 'wpsg'); ?></div>
		</div>
		<div class="content wpsg_admin_box_content" style="display: block;">
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_giropay_activ', __('Zahlungsart "giropay" aktiv', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_activ'), array('help' => 'wpsg_shippay_activ')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_projectid', __('Projekt-ID für giropay', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_projectid'), array('help' => 'wpsg_mod_giropay_giropay_projectid')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_projectpw', __('Projekt-Passwort', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_projectpw'), array('help' => 'wpsg_mod_giropay_giropay_projectpw')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_name'), array('help' => 'wpsg_shippay_name')); ?>
			<?php echo wpsg_drawForm_Textarea('wpsg_mod_giropay_giropay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_hint'), array('help' => 'wpsg_shippay_hint')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_giropay_giropay_logo'), array('help' => 'wpsg_shippay_logo')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_giropay_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_giropay_giropay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?>
			<?php echo wpsg_drawForm_Select('wpsg_mod_giropay_giropay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_giropay_giropay_mwst')); ?>
			
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_giropay_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_giropay_giropay_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?>			
		</div>
	</div>
</div>
<br />
<div class="wpsg_admin_box" id="wpsg_mod_giropay_creditcard">
	<div class="head" style="border-bottom: 0px none;">
		<div class="title">
			<div class="fulltab"><?php echo __('GiroCheckout - Kreditkarte', 'wpsg'); ?></div>
		</div>
		<div class="content wpsg_admin_box_content" style="display: block;">
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_creditcard_activ', __('Zahlungsart "Kreditkarte" aktiv', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_activ'), array('help' => 'wpsg_shippay_activ')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_projectid', __('Projekt-ID für Kreditkarte', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_projectid'), array('help' => 'wpsg_mod_giropay_creditcard_projectid')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_projectpw', __('Projekt-Passwort', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_projectpw'), array('help' => 'wpsg_mod_giropay_creditcard_projectpw')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_name'), array('help' => 'wpsg_shippay_name')); ?>
			<?php echo wpsg_drawForm_Textarea('wpsg_mod_giropay_creditcard_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_hint'), array('help' => 'wpsg_shippay_hint')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_logo'), array('help' => 'wpsg_shippay_logo')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_creditcard_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_giropay_creditcard_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?>
			<?php echo wpsg_drawForm_Select('wpsg_mod_giropay_creditcard_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_giropay_creditcard_mwst')); ?>
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_creditcard_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_giropay_creditcard_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?>			
		</div>
	</div>
</div>
<br />
<div class="wpsg_admin_box" id="wpsg_mod_giropay_directdebit">
	<div class="head" style="border-bottom: 0px none;">
		<div class="title">
			<div class="fulltab"><?php echo __('GiroCheckout - Lastschrift', 'wpsg'); ?></div>
		</div>
		<div class="content wpsg_admin_box_content" style="display: block;">
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_directdebit_activ', __('Zahlungsart "Lastschrift" aktiv', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_activ'), array('help' => 'wpsg_shippay_activ')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_projectid', __('Projekt-ID für Lastschrift', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_projectid'), array('help' => 'wpsg_mod_giropay_directdebit_projectid')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_projectpw', __('Projekt-Passwort', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_projectpw'), array('help' => 'wpsg_mod_giropay_directdebit_projectpw')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_name'), array('help' => 'wpsg_shippay_name')); ?>
			<?php echo wpsg_drawForm_Textarea('wpsg_mod_giropay_directdebit_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_hint'), array('help' => 'wpsg_shippay_hint')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_logo'), array('help' => 'wpsg_shippay_logo')); ?>
			<?php echo wpsg_drawForm_Input('wpsg_mod_giropay_directdebit_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_giropay_directdebit_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?>
			<?php echo wpsg_drawForm_Select('wpsg_mod_giropay_directdebit_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_giropay_directdebit_mwst')); ?>
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_giropay_directdebit_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_giropay_directdebit_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?>			
		</div>
	</div>
</div>

<script type="text/javascript">/* <![CDATA[ */

	jQuery(document).ready(function() {

		jQuery('.wpsg_admin_box').wpsg_adminbox();
		
	} );

/* ]]> */</script>