Subversion Repositories wpShopGermany4

Rev

Rev 6503 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php
        
        /**
         * Template für das Anlegen und Bearbeiten einer Kundengruppe im Backend
         */

?>
<div class="wpsg_customergroup wpsg_customergroup_add" id="wpsg-bs">

    <nav class="navbar navbar-default">

                <div class="container-fluid">
                        <div class="navbar-header">
                                <a class="navbar-brand" href="#"><?php echo __('wpShopGermany', 'wpsg'); ?></a>
                        </div>
                        <div class="collapse navbar-collapse" id="bs-customergroup-navbar-collapse-1">
                                <ul class="nav navbar-nav">
                                        <li role="presentation" class="wpsg-customergroup-tab-a active"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customergroup&action=index"><?php echo __("Kundengruppenverwaltung", "wpsg"); ?></a></li>
                                        <li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'add'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customergroup&action=add"><span class="glyphicon glyphicon-plus"></span><?php echo __("Kundengruppe anlegen/bearbeiten", "wpsg"); ?></a></li>
                                </ul>
                                <ul class="nav navbar-nav navbar-right">

                                </ul>
                        </div>
                </div>

    </nav>

        <div class="wpsg_msg_wrap"><hr class="wp-header-end wpsg-wp-header-end"/></div>
        
        <div class="wpsg_clear"></div>

        <div class="content form-horizontal">

        <form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customergroup&action=save&noheader=1" enctype="multipart/form-data">
            <?php echo wpsg_drawForm_AdminboxStart(__('Allgemein', 'wpsg')); ?>

                <?php if ($this->view['mode'] == 'edit') { ?>
                <input type="hidden" name="edit_id" value="<?php echo $this->view['data']->id; ?>" />
                <?php } ?>

                <?php $this->callMods('customergroup_edit', array(&$this->view['data'])); ?>

                <?php echo wpsg_drawForm_Input('wpsg_mod_kundenverwaltung[name]', __('Name', 'wpsg'), @$this->view['data']->name); ?>
                <?php echo wpsg_drawForm_Select('wpsg_mod_kundenverwaltung[calculation]', __('Preisangaben im Shop (Frontend)', 'wpsg'), array(
                    -1 => __('Standard', 'wpsg'),
                    WPSG_BRUTTO => __('Brutto (inkl. Steuer)', 'wpsg'),
                    WPSG_NETTO => __('Netto (zzgl. Steuer)', 'wpsg')
                ), @$this->view['data']->calculation); ?>

            <?php echo wpsg_drawForm_AdminboxEnd(); ?>

            <input type="submit" value="<?php echo __('Kundengruppe speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" />
                        <input type="submit" value="<?php echo __('Kundengruppe speichern und zur Übersicht', 'wpsg'); ?>" class="button-primary" id="submit_index" name="submit_index" />

        </form>

    </div>

</div>