diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-08-13 13:40:36 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-08-13 13:40:36 +0000 |
| commit | f4d68ae74cdcd77e40de63fdbe5ee8ab4c63920c (patch) | |
| tree | 3acd256706ae6e9f5578e5afd3fcff17832d9458 /views/order/view_general.phtml | |
| parent | 5dc953f0c42207bf8276812e19315ccd40592c74 (diff) | |
- Bestellansicht Umbau der Moduleinbindung in Reiter
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5720 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/order/view_general.phtml')
| -rw-r--r-- | views/order/view_general.phtml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/views/order/view_general.phtml b/views/order/view_general.phtml new file mode 100644 index 0000000..750dc88 --- /dev/null +++ b/views/order/view_general.phtml @@ -0,0 +1,32 @@ +<?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&action=switchStatus&edit_id=<?php echo $this->view['data']['id']; ?>&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(); ?>
|
