diff options
Diffstat (limited to 'views/mods/mod_willcollect')
| -rw-r--r-- | views/mods/mod_willcollect/mail.phtml | 14 | ||||
| -rw-r--r-- | views/mods/mod_willcollect/mail_html.phtml | 22 | ||||
| -rw-r--r-- | views/mods/mod_willcollect/settings_edit.phtml | 24 | ||||
| -rw-r--r-- | views/mods/mod_willcollect/shippinghint.phtml | 13 |
4 files changed, 73 insertions, 0 deletions
diff --git a/views/mods/mod_willcollect/mail.phtml b/views/mods/mod_willcollect/mail.phtml new file mode 100644 index 0000000..8c1804e --- /dev/null +++ b/views/mods/mod_willcollect/mail.phtml @@ -0,0 +1,14 @@ +<?php
+
+ /**
+ * Dieses Template integriert die Adresse bei der Zahlungsart "Selbstabholung" in die Mail
+ */
+
+?>
+
+<?php echo __('Bitte vereinbaren Sie mit uns einen Termin an dem Sie die Ware abholen.', 'wpsg'); ?>
+
+<?php echo wpsg_pad_right(__('Abholadresse', 'wpsg').':', 35); ?><?php echo $this->view['wpsg_mod_willcollect']['adress']; ?>
+<?php echo wpsg_pad_right('', 35); ?><?php echo $this->view['wpsg_mod_willcollect']['street']; ?>
+<?php echo wpsg_pad_right('', 35); ?><?php echo $this->view['wpsg_mod_willcollect']['plzort']; ?>
+
\ No newline at end of file diff --git a/views/mods/mod_willcollect/mail_html.phtml b/views/mods/mod_willcollect/mail_html.phtml new file mode 100644 index 0000000..ec7500f --- /dev/null +++ b/views/mods/mod_willcollect/mail_html.phtml @@ -0,0 +1,22 @@ +<?php
+
+ /**
+ * Dieses Template integriert die Adresse bei der Zahlungsart "Selbstabholung" in die Mail
+ */
+
+?>
+<p>
+ <?php echo __('Bitte vereinbaren Sie mit uns einen Termin an dem Sie die Ware abholen.', 'wpsg'); ?>
+</p>
+
+<table style="width:100%;">
+ <tr>
+ <td style="vertical-align:top; padding-right:15px;"><?php echo __('Abholadresse', 'wpsg'); ?></td>
+ <td style="">
+ <?php echo $this->view['wpsg_mod_willcollect']['adress']; ?><br />
+ <?php echo $this->view['wpsg_mod_willcollect']['street']; ?><br />
+ <?php echo $this->view['wpsg_mod_willcollect']['plzort']; ?>
+ </td>
+ </tr>
+</table>
+
\ No newline at end of file diff --git a/views/mods/mod_willcollect/settings_edit.phtml b/views/mods/mod_willcollect/settings_edit.phtml new file mode 100644 index 0000000..1a5fd1b --- /dev/null +++ b/views/mods/mod_willcollect/settings_edit.phtml @@ -0,0 +1,24 @@ +<?php
+
+ /**
+ * Template für die Einstellungen der Versandart "Selbstabholung"
+ */
+
+?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_willcollect_aktiv', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_willcollect_aktiv'), array('help' => 'wpsg_mod_willcollect_aktiv')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_willcollect_bezeichnung', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_willcollect_bezeichnung'), array('help' => 'wpsg_mod_willcollect_bezeichnung')); ?>
+<?php echo wpsg_drawForm_Textarea('wpsg_mod_willcollect_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_willcollect_hint'), array('help' => 'wpsg_mod_willcollect_hint')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_willcollect_paymentneed', __('Selbstabholung erfordert Barzahlung', 'wpsg'), $this->get_option('wpsg_mod_willcollect_paymentneed'), array('help' => 'wpsg_mod_willcollect_paymentneed')); ?>
+<br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_willcollect_adress', __('Anschrift', 'wpsg'), $this->get_option('wpsg_mod_willcollect_adress'), array('help' => 'wpsg_mod_willcollect_adress')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_willcollect_street', __('Straße', 'wpsg'), $this->get_option('wpsg_mod_willcollect_street'), array('help' => 'wpsg_mod_willcollect_street')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_willcollect_plzort', __('PLZ/Ort', 'wpsg'), $this->get_option('wpsg_mod_willcollect_plzort'), array('help' => 'wpsg_mod_willcollect_plzort')); ?>
+<br />
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_willcollect_payment', __('Zahlungsart "Barzahlung" aktivieren', 'wpsg'), $this->get_option('wpsg_mod_willcollect_payment'), array('help' => 'wpsg_mod_willcollect_payment')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_willcollect_payment_bezeichnung', __('Bezeichung der Zahlungsart', 'wpsg'), $this->get_option('wpsg_mod_willcollect_payment_bezeichnung'), array('help' => 'wpsg_mod_willcollect_payment_bezeichnung')); ?>
+<?php echo wpsg_drawForm_Textarea('wpsg_mod_willcollect_payment_hint', __('Hinweistext der Zahlungsart', 'wpsg'), $this->get_option('wpsg_mod_willcollect_payment_hint'), array('help' => 'wpsg_mod_willcollect_payment_hint')); ?>
+<br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_willcollect_gebuehr', __('Gebühr/Rabatt (Versandart)', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_willcollect_gebuehr'), true), array('help' => 'wpsg_mod_willcollect_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_willcollect_payment_gebuehr', __('Gebühr/Rabatt (Zahlungsart)', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_willcollect_payment_gebuehr'), true), array('help' => 'wpsg_mod_willcollect_payment_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_willcollect_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_willcollect_mwst'), array('help' => 'wpsg_mod_willcollect_mwst')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_willcollect_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_willcollect_mwstland'), array('help' => 'wpsg_mod_willcollect_mwstland')); ?>
\ No newline at end of file diff --git a/views/mods/mod_willcollect/shippinghint.phtml b/views/mods/mod_willcollect/shippinghint.phtml new file mode 100644 index 0000000..c6369b6 --- /dev/null +++ b/views/mods/mod_willcollect/shippinghint.phtml @@ -0,0 +1,13 @@ +<?php
+
+ /**
+ * Template für die Erweiterung des Hinweistextes bei der Versandart. Es wird standardmäßig die Zieladresse aus dem Backend dort noch einmal angezeigt
+ */
+
+?>
+<?php echo __('Die Ware kann dann an folgender Adresse abgeholt werden:', 'wpsg'); ?><br /><br />
+<span class="wpsg_mod_willcollect_adress">
+<?php echo wpsg_hspc($this->view['wpsg_mod_willcollect']['adress']); ?><br />
+<?php echo wpsg_hspc($this->view['wpsg_mod_willcollect']['street']); ?><br />
+<?php echo wpsg_hspc($this->view['wpsg_mod_willcollect']['plzort']); ?>
+</span>
\ No newline at end of file |
