Subversion Repositories wpShopGermany4

Rev

Rev 6846 | Rev 7719 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5720 daniel 1
<?php
2
 
3
    /**
4
     * User: Daschmi (daschmi@daschmi.de)
5
     * Date: 06.08.2016
6
     * Time: 11:22
7
     */
8
 
9
?>
10
<?php echo wpsg_drawForm_AdminboxStart(__('Allgemein', 'wpsg')); ?>
11
 
12
    <?php echo wpsg_drawForm_Text(__('Bestellnummer', 'wpsg'), $this->view['oOrder']->getNr().' ['.$this->view['oOrder']->getStateLabel().']'); ?>
13
    <?php echo wpsg_drawForm_Text(__('Bestelldatum', 'wpsg'), wpsg_formatTimestamp($this->view['oOrder']->cdate)); ?>
6846 hartmut 14
    <?php echo wpsg_drawForm_Text(__('Bestellwert', 'wpsg'), wpsg_ff($this->view['oOrder']->getAmount(), $this->get_option('wpsg_currency')), 'wpsg_be_orderamount'); ?>
5720 daniel 15
    <?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'])); ?>
16
 
17
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
18
 
6683 daniel 19
<?php $comment = $this->view['oOrder']->comment; if (wpsg_isSizedString($comment)) { ?>
20
 
21
	<?php echo wpsg_drawForm_AdminboxStart(__('Bestellkommentar (Kunde)', 'wpsg')); ?>
22
 
23
	<p>
24
		<?php echo $comment; ?>
25
	</p>
26
 
27
	<?php echo wpsg_drawForm_AdminboxEnd(); ?>
28
 
29
<?php } ?>
30
 
5720 daniel 31
<?php echo wpsg_drawForm_AdminboxStart(__('Statusänderung', 'wpsg')); ?>
6909 thomas 32
<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['oOrder']->id; ?>&amp;noheader=1" enctype="multipart/form-data">
5720 daniel 33
 
34
    <?php echo wpsg_drawForm_Select('status', __('Neuer Status', 'wpsg'), $this->arStatus, $this->view['data']['status']); ?>
35
    <?php echo wpsg_drawForm_Checkbox('sendMail', __('Kunden informieren', 'wpsg'), 0); ?>
36
 
37
    <br />
6350 hartmut 38
	<?php $this->callMods('order_view_switchStatus', array(&$this->view['data']['id'])); ?>
39
 
5720 daniel 40
    <?php echo wpsg_drawForm_TextStart(); ?>
41
    <input type="submit" class="button" value="<?php echo __('Status ändern', 'wpsg'); ?>" />
42
    <?php echo wpsg_drawForm_TextEnd(); ?>
43
 
44
</form>
45
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
6220 hartmut 46
 
6222 hartmut 47
<?php if ($this->hasMod('wpsg_mod_orderupload')) { ?>
48
	<?php echo wpsg_drawForm_AdminboxStart(__('Bestelluploads', 'wpsg')); ?>
49
 
50
		<div class="inside">
51
			 <?php if (!wpsg_isSizedArray($this->view['arFiles'])) { ?>
52
			 <p class="wpsg_checkout_orderupload_backend">
53
			 	<?php echo __('Keine Dateien hochgeladen.', 'wpsg'); ?>
54
			 </p>
55
			 <?php } else { ?>
56
			 <?php foreach ($this->view['arFiles'] as $f) { ?>
57
			 <p class="wpsg_checkout_orderupload_backend">
58
			 	<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo $this->view['data']['id']; ?>&noheader=1&action=ajax&mod=wpsg_mod_orderupload&wpsg_mod_orderupload_download=<?php echo rawurlencode($f); ?>"><?php echo $f; ?></a><br />
59
			 	<span class="wpsg_checkout_orderupload_backend_weight">(<?php echo wpsg_formatSize($this->callMod('wpsg_mod_orderupload', 'getSavePath', array($this->view['data']['id'])).$f); ?>)</span>
60
			 </p>
61
			 <?php } ?>
62
			 <?php } ?>
63
		</div>
64
 
65
	<?php echo wpsg_drawForm_AdminboxEnd(); ?>
66
<?php } ?>