summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2017-09-12 08:36:16 +0000
committerthomas <noreply@maennchen1.de>2017-09-12 08:36:16 +0000
commit8420d497db02aca1ca6331e2809e2f8e07d27fdf (patch)
treef668f6cb2ecceee049a46f80be275b76880ac12c
parentd4f4c99fcef648c9c692eb62e62ad34ae87ca4fd (diff)
- Produktgruppenanpassungen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6495 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/mods/mod_discount/productgroups_addedit_sidebar.phtml18
-rw-r--r--views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml19
2 files changed, 29 insertions, 8 deletions
diff --git a/views/mods/mod_discount/productgroups_addedit_sidebar.phtml b/views/mods/mod_discount/productgroups_addedit_sidebar.phtml
index 446ddb4..d6b51f6 100644
--- a/views/mods/mod_discount/productgroups_addedit_sidebar.phtml
+++ b/views/mods/mod_discount/productgroups_addedit_sidebar.phtml
@@ -5,9 +5,15 @@
*/
?>
-<?php echo wpsg_drawForm_AdminboxStart(__('Produktgruppenrabatt')); ?>
- <?php echo wpsg_drawForm_Checkbox('wpsg_mod_discount[discount_aktiv]', __('Aktion aktiv', 'wpsg'), $this->view['wpsg_mod_discount']['data'][0]); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_discount[discount_from]', __('Start (TT.MM.JJJJ)', 'wpsg'), wpsg_hspc(wpsg_getStr($this->view['wpsg_mod_discount']['data'][1]))); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_discount[discount_to]', __('Ende (TT.MM.JJJJ)', 'wpsg'), wpsg_hspc(wpsg_getStr($this->view['wpsg_mod_discount']['data'][2]))); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_discount[discount_value]', __('Rabatt', 'wpsg'), wpsg_ff(wpsg_getStr($this->view['wpsg_mod_discount']['data'][3]))); ?>
-<?php echo wpsg_drawForm_AdminboxEnd(); ?> \ No newline at end of file
+<?php /* Rabatt START */ ?>
+<?php echo wpsg_drawForm_AdminboxStart(__('Produktgruppen Rabatt')); ?>
+
+ <div class="inside">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_discount[discount_aktiv]', __('Aktion aktiv', 'wpsg'), $this->view['wpsg_mod_discount']['data'][0]); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_discount[discount_from]', __('Start (TT.MM.JJJJ)', 'wpsg'), wpsg_hspc(wpsg_getStr($this->view['wpsg_mod_discount']['data'][1]))); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_discount[discount_to]', __('Ende (TT.MM.JJJJ)', 'wpsg'), wpsg_hspc(wpsg_getStr($this->view['wpsg_mod_discount']['data'][2]))); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_discount[discount_value]', __('Rabatt', 'wpsg'), wpsg_ff(wpsg_getStr($this->view['wpsg_mod_discount']['data'][3]))); ?>
+ </div>
+
+<?php echo wpsg_drawForm_AdminboxEnd(); ?>
+<?php /* Rabatt ENDE */ ?> \ No newline at end of file
diff --git a/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml b/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml
index 474c1b1..7dc10a7 100644
--- a/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml
+++ b/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml
@@ -6,9 +6,24 @@
?>
+<?php /* Lagerbestand START */ ?>
<?php echo wpsg_drawForm_AdminboxStart(__('Produktgruppen Lagerbestand')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_productgroups[stock_value]', __('Bestand', 'wpsg'), wpsg_hspc(@$this->view['wpsg_mod_productgroups']['data']['stock_value']), array()); ?>
- <?php echo wpsg_drawForm_Checkbox('wpsg_mod_productgroups[stock_aktiv]', __('Lagerbestand zählen', 'wpsg'), @$this->view['wpsg_mod_productgroups']['data']['stock_aktiv'], array()); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_productgroups[stock_aktiv]', __('Lagerbestand zählen', 'wpsg'), @$this->view['wpsg_mod_productgroups']['data']['stock_aktiv'], array()); ?>
-<?php echo wpsg_drawForm_AdminboxEnd(); ?> \ No newline at end of file
+<?php echo wpsg_drawForm_AdminboxEnd(); ?>
+<?php /* Lagerbestand ENDE */ ?>
+
+<?php /* Rabatt START ?>
+<?php echo wpsg_drawForm_AdminboxStart(__('Produktgruppen Rabatt')); ?>
+
+ <div class="inside">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_discount[discount_aktiv]', __('Aktion aktiv', 'wpsg'), $this->view['wpsg_mod_discount']['data'][0]); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_discount[discount_from]', __('Start (TT.MM.JJJJ)', 'wpsg'), wpsg_hspc(wpsg_getStr($this->view['wpsg_mod_discount']['data'][1]))); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_discount[discount_to]', __('Ende (TT.MM.JJJJ)', 'wpsg'), wpsg_hspc(wpsg_getStr($this->view['wpsg_mod_discount']['data'][2]))); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_discount[discount_value]', __('Rabatt', 'wpsg'), wpsg_ff(wpsg_getStr($this->view['wpsg_mod_discount']['data'][3]))); ?>
+ </div>
+
+<?php echo wpsg_drawForm_AdminboxEnd(); ?>
+<?php Rabatt ENDE */ ?> \ No newline at end of file