1067 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Templatedatei für die Einstellungen des Vorkasse Moduls
|
|
|
5 |
* Sollte normalerweise nicht angepasst werden
|
|
|
6 |
*/
|
|
|
7 |
|
|
|
8 |
?>
|
|
|
9 |
|
|
|
10 |
<div class="wpsg_form_field">
|
|
|
11 |
<div class="wpsg_form_left">
|
|
|
12 |
<?php echo __("Bezeichnung", "wpsg"); ?>:
|
|
|
13 |
</div>
|
|
|
14 |
<div class="wpsg_form_right">
|
|
|
15 |
<input type="text" name="wpsg_mod_prepayment_bezeichnung" value="<?php echo $this->get_option('wpsg_mod_prepayment_bezeichnung'); ?>" />
|
|
|
16 |
</div>
|
|
|
17 |
<div class="wpsg_clear"></div>
|
|
|
18 |
</div>
|
|
|
19 |
|
|
|
20 |
<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_prepayment_gebuehr'))); ?>
|
|
|
21 |
|
|
|
22 |
<div class="wpsg_form_field">
|
|
|
23 |
<div class="wpsg_form_left">
|
|
|
24 |
<label for="wpsg_mod_prepayment_mwst"><?php echo __('Steuersatz', 'wpsg'); ?>:</label>
|
|
|
25 |
</div>
|
|
|
26 |
<div class="wpsg_form_right">
|
|
|
27 |
<?php if (!is_array($this->view['mwst']) || sizeof($this->view['mwst']) <= 0) { ?>
|
|
|
28 |
<p><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=mwst"><?php echo __('Anlegen', 'wpsg'); ?></a></p>
|
|
|
29 |
<?php } else { ?>
|
|
|
30 |
<select id="wpsg_mod_prepayment_mwst" name="wpsg_mod_prepayment_mwst">
|
|
|
31 |
<?php foreach ($this->view['mwst'] as $mwst) { ?>
|
|
|
32 |
<option value="<?php echo $mwst['id']; ?>" <?php echo (($mwst['id'] == $this->get_option('wpsg_mod_prepayment_mwst'))?'selected="selected"':''); ?>><?php echo wpsg_ff($mwst['value']).'%'; ?></option>
|
|
|
33 |
<?php } ?>
|
|
|
34 |
</select>
|
|
|
35 |
<?php } ?>
|
|
|
36 |
</div>
|
|
|
37 |
<div class="wpsg_clear"></div>
|
|
|
38 |
</div>
|