Subversion Repositories wpShopGermany4

Rev

Rev 7787 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7787 Rev 7812
Line 12... Line 12...
12
<div class="panel-group">
12
<div class="panel-group">
13
    <?php foreach ($this->view['oOrder']->getLog() as $k => $ol) { ?>
13
    <?php foreach ($this->view['oOrder']->getLog() as $k => $ol) { ?>
14
    <div class="panel panel-default">
14
    <div class="panel panel-default">
15
        <div class="panel-heading" data-toggle="collapse" href="#collapse<?php echo $k; ?>" style="cursor:pointer;">
15
        <div class="panel-heading" data-toggle="collapse" href="#collapse<?php echo $k; ?>" style="cursor:pointer;">
16
            <h4 class="panel-title" style="float:right;"><?php echo wpsg_formatTimestamp($ol['cdate']); ?></h4>
16
            <h4 class="panel-title" style="float:right;"><?php echo wpsg_formatTimestamp($ol['cdate']); ?></h4>
17
            <h4 class="panel-title"><?php echo $ol['title']; ?></h4>
17
            <h4 class="panel-title"><?php 
-
 
18
				
-
 
19
				if (preg_match('/OrderID:\040(\d+)?/', $ol['mailtext'], $m)) {
-
 
20
					
-
 
21
					$oAboExtendOrder = wpsg_order::getInstance(intval($m[1]));
-
 
22
					
-
 
23
					$title = '<a href="'.wpsg_admin_url('Order', 'view', ['edit_id' => $oAboExtendOrder->getId()]).'">Bestellung '.$oAboExtendOrder->getNr().'&nbsp;/&nbsp;'.$oAboExtendOrder->getStateLabel().'</a>';
-
 
24
					
-
 
25
                } else $title = $ol['title'];
-
 
26
				
-
 
27
				echo $title;
-
 
28
					
-
 
29
			?></h4>
18
        </div>
30
        </div>
19
        <div id="collapse<?php echo $k; ?>" class="panel-collapse collapse">
31
        <div id="collapse<?php echo $k; ?>" class="panel-collapse collapse">
20
            <div class="panel-body">
32
            <div class="panel-body">
21
                <pre><?php echo $ol['mailtext']; ?></pre>
33
                <pre><?php echo $ol['mailtext']; ?></pre>
22
            </div>
34
            </div>