diff options
Diffstat (limited to 'views/mods')
| -rw-r--r-- | views/mods/mod_discount/productgroups_addedit_sidebar.phtml | 18 | ||||
| -rw-r--r-- | views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml | 19 |
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 |
