diff options
Diffstat (limited to 'views/mods/mod_prepayment')
| -rw-r--r-- | views/mods/mod_prepayment/mail.phtml | 15 | ||||
| -rw-r--r-- | views/mods/mod_prepayment/mail_html.phtml | 29 | ||||
| -rw-r--r-- | views/mods/mod_prepayment/order_done.phtml | 17 | ||||
| -rw-r--r-- | views/mods/mod_prepayment/settings_edit.phtml | 41 |
4 files changed, 102 insertions, 0 deletions
diff --git a/views/mods/mod_prepayment/mail.phtml b/views/mods/mod_prepayment/mail.phtml new file mode 100644 index 0000000..9bc4fab --- /dev/null +++ b/views/mods/mod_prepayment/mail.phtml @@ -0,0 +1,15 @@ +<?php
+
+ /**
+ * Dieses Template dient zur Integration der Admin Kontodaten in eine Bestellung
+ */
+
+?>
+
+<?php echo wpsg_translate(__('Bitte überweisen Sie den Rechnungsbetrag in Höhe von #1# auf folgendes Konto und geben Sie als Betreff "#2#" an.', 'wpsg'), wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), $this->view['mod_prepayment']['subject']); ?>
+
+<?php echo wpsg_pad_right(__('Kontoinhaber', 'wpsg').':', 35); ?><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber')); ?>
+<?php echo wpsg_pad_right(__('IBAN', 'wpsg').':', 35); ?><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban')); ?>
+<?php echo wpsg_pad_right(__('Bank', 'wpsg').':', 35); ?><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_bank')); ?>
+<?php echo wpsg_pad_right(__('BIC-/SWIFT-Code', 'wpsg').':', 35); ?><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_swift')); ?>
+
\ No newline at end of file diff --git a/views/mods/mod_prepayment/mail_html.phtml b/views/mods/mod_prepayment/mail_html.phtml new file mode 100644 index 0000000..f56af6f --- /dev/null +++ b/views/mods/mod_prepayment/mail_html.phtml @@ -0,0 +1,29 @@ +<?php
+
+ /**
+ * Dieses Template dient zur Integration der Admin Kontodaten in eine Bestellung (HTML)
+ */
+
+?>
+<p>
+ <?php echo wpsg_translate(__('Bitte überweisen Sie den Rechnungsbetrag in Höhe von #1# auf folgendes Konto und geben Sie als Betreff <strong>#2#</strong> an.', 'wpsg'), wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), $this->view['mod_prepayment']['subject']); ?>
+</p>
+
+<table style="width:100%;">
+ <tr>
+ <td><?php echo __('Kontoinhaber', 'wpsg'); ?>:</td>
+ <td style="text-align:right;"><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber')); ?></td>
+ </tr>
+ <tr>
+ <td><?php echo __('IBAN', 'wpsg'); ?>:</td>
+ <td style="text-align:right;"><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban')); ?></td>
+ </tr>
+ <tr>
+ <td><?php echo __('Bank', 'wpsg'); ?>:</td>
+ <td style="text-align:right;"><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_bank')); ?></td>
+ </tr>
+ <tr>
+ <td><?php echo __('BIC-/SWIFT-Code', 'wpsg'); ?></td>
+ <td style="text-align:right;"><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_swift')); ?></td>
+ </tr>
+ </table>
\ No newline at end of file diff --git a/views/mods/mod_prepayment/order_done.phtml b/views/mods/mod_prepayment/order_done.phtml new file mode 100644 index 0000000..6d3de2b --- /dev/null +++ b/views/mods/mod_prepayment/order_done.phtml @@ -0,0 +1,17 @@ +<?php
+
+ /**
+ * Template welches bei der Zahlungsart "Vorkasse" nach Abschluß einer Bestellung angezeigt wird
+ */
+
+ //wpsg_debug($this->view['wpsg_mod_prepayment']['subject']);
+
+?>
+<?php echo wpsg_translate(__('Sie haben die Zahlungsart "Vorkasse" gewählt. Überweisen Sie daher den Rechnungsbetrag von #1# auf folgendes Konto:', 'wpsg'), wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency'))); ?>
+<br /><br />
+<?php echo wpsg_translate(__('Kontoinhaber: #1#', 'wpsg'), $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber'))); ?><br />
+<?php echo wpsg_translate(__('IBAN: #1#', 'wpsg'), $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban'))); ?><br />
+<?php echo wpsg_translate(__('Bank: #1#', 'wpsg'), $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_bank'))); ?><br />
+<?php echo wpsg_translate(__('BIC-/SWIFT-Code: #1#', 'wpsg'), $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_swift'))); ?>
+<br /><br />
+<?php echo wpsg_translate(__('Bitte als Betreff angeben: "#1#"', 'wpsg'), $this->view['wpsg_mod_prepayment']['subject']); ?>
\ No newline at end of file diff --git a/views/mods/mod_prepayment/settings_edit.phtml b/views/mods/mod_prepayment/settings_edit.phtml new file mode 100644 index 0000000..3cd1cea --- /dev/null +++ b/views/mods/mod_prepayment/settings_edit.phtml @@ -0,0 +1,41 @@ +<?php
+
+ /**
+ * Templatedatei für die Einstellungen des Vorkasse Moduls
+ */
+
+?>
+
+<div class="wpsg_form_field">
+ <div class="wpsg_form_left">
+ <?php echo __("Bezeichnung", "wpsg"); ?>:
+ </div>
+ <div class="wpsg_form_right">
+ <input type="text" name="wpsg_mod_prepayment_bezeichnung" value="<?php echo $this->get_option('wpsg_mod_prepayment_bezeichnung'); ?>" />
+ </div>
+ <div class="wpsg_clear"></div>
+</div>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_prepayment_aktiv', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_prepayment_aktiv'), array('help' => 'wpsg_mod_prepayment_aktiv')); ?>
+<?php echo wpsg_drawForm_Textarea('wpsg_mod_prepayment_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_prepayment_hint'), array('help' => 'wpsg_mod_prepayment_hint')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_subject', __('Betreff für Überweisungen', 'wpsg'), $this->get_option('wpsg_mod_prepayment_subject'), array('help' => 'mod_prepayment_subject')); ?>
+
+<br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_prepayment_gebuehr'), true), array('help' => 'wpsg_mod_prepayment_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_prepayment_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_prepayment_mwst'), array('help' => 'wpsg_mod_prepayment_mwst')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_prepayment_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_prepayment_mwstland'), array('help' => 'wpsg_mod_prepayment_mwstland')); ?>
+
+<br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_kinhaber', __('Kontoinhaber', 'wpsg'), $this->get_option('wpsg_mod_prepayment_kinhaber'), array('help' => 'wpsg_mod_prepayment_kinhaber')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_bank', __('Bank', 'wpsg'), $this->get_option('wpsg_mod_prepayment_bank'), array('help' => 'wpsg_mod_prepayment_bank')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_iban', __('IBAN', 'wpsg'), $this->get_option('wpsg_mod_prepayment_iban'), array('help' => 'wpsg_mod_prepayment_iban')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_swift', __('BIC-/SWIFT Code', 'wpsg'), $this->get_option('wpsg_mod_prepayment_swift'), array('help' => 'wpsg_mod_prepayment_swift')); ?>
+
+<script type="text/javascript">
+
+ jQuery(document).ready(function() {
+
+ jQuery('.wpsg_form_help').tipTip();
+
+ } );
+
+</script>
\ No newline at end of file |
