Subversion Repositories wpShopGermany4

Rev

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

Rev 7938 Rev 8214
Line 20... Line 20...
20
		<h2><?php echo wpsg_translate(__('Bestellung vom #1# über #2#', 'wpsg'), date('d.m.Y', strtotime($order['cdate'])), wpsg_ff($order['price_gesamt'], $this->get_option('wpsg_currency'))); ?></h2>
20
		<h2><?php echo wpsg_translate(__('Bestellung vom #1# über #2#', 'wpsg'), date('d.m.Y', strtotime($order['cdate'])), wpsg_ff($order['price_gesamt'], $this->get_option('wpsg_currency'))); ?></h2>
21
		
21
		
22
			<div class="wpsg_inner wpsg_order_<?php echo $order['id']; ?>">
22
			<div class="wpsg_inner wpsg_order_<?php echo $order['id']; ?>">
23
				<strong><?php echo __('Bestellstatus', 'wpsg'); ?>:</strong>&nbsp;
23
				<strong><?php echo __('Bestellstatus', 'wpsg'); ?>:</strong>&nbsp;
24
					<?php echo $this->arStatus[$order['status']]; ?>
24
					<?php echo $this->arStatus[$order['status']]; ?>
25
					<?php if ($this->hasMod('wpsg_mod_rechnungen')) { ?>
25
					<?php if ($this->hasMod('wpsg_mod_rechnungen')) {
26
					
26
 
27
						<?php if ($r = $this->callMod('wpsg_mod_rechnungen', 'getOrderInvoice', array($order['id']))) { ?>
27
                        $arInvoice = \wpsg\wpsg_invoice::findByOrderId(intval($order['id']));
-
 
28
 
-
 
29
                        ?>
-
 
30
 
-
 
31
                        <?php foreach ($arInvoice as $oInvoice) { ?>
-
 
32
 
-
 
33
                            <?php if ($oInvoice->isInvoice()) { ?>
-
 
34
 
28
						<a href="<?php echo $this->callMod('wpsg_mod_rechnungen', 'getFrontendLink', array($r['id'])); ?>"><?php echo wpsg_translate(__('Rechnung #1#', 'wpsg'), $r['rnr']); ?></a>
35
                                <a href="<?php echo $this->callMod('wpsg_mod_rechnungen', 'getFrontendLink', [$oInvoice->getId()]); ?>"><?php echo wpsg_translate(__('Rechnung #1#', 'wpsg'), $oInvoice->getNr()); ?></a>
-
 
36
 
29
						<?php } else if ($r = $this->callMod('wpsg_mod_rechnungen', 'getOrderCredit', array($order['id']))) { ?>
37
                            <?php } else if ($oInvoice->isStorno()) { ?>
-
 
38
 
30
						<a href="<?php echo $this->callMod('wpsg_mod_rechnungen', 'getFrontendLink', array($r['id'])); ?>"><?php echo wpsg_translate(__('Rechnungskorrektur #1#', 'wpsg'), $r['gnr']); ?></a>
39
                                <a href="<?php echo $this->callMod('wpsg_mod_rechnungen', 'getFrontendLink', [$oInvoice->getId()]); ?>"><?php echo wpsg_translate(__('Rechnungskorrektur #1#', 'wpsg'), $oInvoice->getNr()); ?></a>
-
 
40
 
-
 
41
                            <?php } ?>
-
 
42
 
31
						<?php } ?>
43
                        <?php } ?>
32
						
44
 
33
					<?php } ?>
45
					<?php } ?>
34
				<br />
46
				<br />
35
				<strong><?php echo __('Rechnungsbetrag', 'wpsg'); ?>:</strong> <?php echo wpsg_ff($order['price_gesamt'], $this->get_option('wpsg_currency')); ?><br />
47
				<strong><?php echo __('Rechnungsbetrag', 'wpsg'); ?>:</strong> <?php echo wpsg_ff($order['price_gesamt'], $this->get_option('wpsg_currency')); ?><br />
36
				<strong><?php echo __('Bestellte Produkte', 'wpsg'); ?>:</strong>				
48
				<strong><?php echo __('Bestellte Produkte', 'wpsg'); ?>:</strong>				
37
				
49