diff options
| author | thomas <noreply@maennchen1.de> | 2017-09-12 08:36:16 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2017-09-12 08:36:16 +0000 |
| commit | 8420d497db02aca1ca6331e2809e2f8e07d27fdf (patch) | |
| tree | f668f6cb2ecceee049a46f80be275b76880ac12c /views | |
| parent | d4f4c99fcef648c9c692eb62e62ad34ae87ca4fd (diff) | |
- Produktgruppenanpassungen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6495 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
| -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 |
