Subversion Repositories wpShopGermany4

Rev

Rev 6222 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php

    /**
     * User: Daschmi (daschmi@daschmi.de)
     * Date: 06.08.2016
     * Time: 11:22
     */

?>
<?php echo wpsg_drawForm_AdminboxStart(__('Allgemein', 'wpsg')); ?>

    <?php echo wpsg_drawForm_Text(__('Bestellnummer', 'wpsg'), $this->view['oOrder']->getNr().' ['.$this->view['oOrder']->getStateLabel().']'); ?>
    <?php echo wpsg_drawForm_Text(__('Bestelldatum', 'wpsg'), wpsg_formatTimestamp($this->view['oOrder']->cdate)); ?>
    <?php echo wpsg_drawForm_Text(__('Bestellwert', 'wpsg'), wpsg_ff($this->view['oOrder']->getAmount(), $this->get_option('wpsg_currency'))); ?>
    <?php echo wpsg_drawForm_Text(__('Bestellkommentar (Admin)', 'wpsg'), $this->view['data']['admincomment'], 'wpsg_order_admincomment', array('inlineEdit' => true, 'inlineEdit_type' => 'textarea', 'inlineEdit_url' => WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&noheader=1&action=setAdminComment&edit_id='.$this->view['data']['id'])); ?>

<?php echo wpsg_drawForm_AdminboxEnd(); ?>

<?php echo wpsg_drawForm_AdminboxStart(__('Statusänderung', 'wpsg')); ?>
<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&amp;action=switchStatus&amp;edit_id=<?php echo $this->view['data']['id']; ?>&amp;noheader=1" enctype="multipart/form-data">

    <?php echo wpsg_drawForm_Select('status', __('Neuer Status', 'wpsg'), $this->arStatus, $this->view['data']['status']); ?>
    <?php echo wpsg_drawForm_Checkbox('sendMail', __('Kunden informieren', 'wpsg'), 0); ?>

    <br />

    <?php echo wpsg_drawForm_TextStart(); ?>
    <input type="submit" class="button" value="<?php echo __('Status ändern', 'wpsg'); ?>" />
    <?php echo wpsg_drawForm_TextEnd(); ?>

</form>
<?php echo wpsg_drawForm_AdminboxEnd(); ?>