Subversion Repositories wpShopGermany4

Rev

Rev 6035 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6030 hartmut 1
<?php
2
 
3
	/**
4
	 * Template für die Anzeige der Produktstatistik innerhalb der Produktverwaltung
5
	 */
6
 
7
?>
8
 
6033 hartmut 9
	<div id="wpsg_statistic_div">
6030 hartmut 10
	<?php
11
	if ($this->view['odata']['sum'] == 0) {
12
		echo __('Keine Daten', 'wpsg');
13
	} else {
14
	?>
15
 
16
        <?php echo __('Verkaufte Produkte:', 'wpsg');  echo $this->view['odata']['sum'] ?><br /><br />
17
        <table id="wpsg_statistic_table" style="width:100%;">
18
        <thead>
19
        <tr>
20
        <td><?php echo __('Bestell-ID', 'wpsg');?> </td>
21
        <td><?php echo __('Name', 'wpsg');?> </td>
22
        <td><?php echo __('Vorname', 'wpsg');?> </td>
23
        <td><?php echo __('Stück', 'wpsg');?> </td>
24
        <td><?php echo __('e-Mail', 'wpsg');?> </td>
25
        <td><?php echo __('Telefon', 'wpsg');?> </td>
26
        </tr>
27
        </thead>
28
        <tbody id="wpsg_statistic_tbody">
29
 
30
        <?php
31
        unset($this->view['odata']['sum']);
32
        foreach ($this->view['odata'] as $pa) { ?>
33
        <tr>
7612 daniel 34
			<td> <a href="<?php
35
 
36
				echo wpsg_admin_url('Order', 'view', ['edit_id' => $pa['id']]);
37
 
38
			?>" target="_blank"><?php echo __($pa['onr'], 'wpsg');?></a></td>
39
			<td> <a href="<?php
40
 
41
				echo wpsg_admin_url('Customer', 'edit', ['edit_id' => $pa['kid']]);
42
 
43
			?>" target="_blank"><?php echo __($pa['name'], 'wpsg');?></a></td>
6030 hartmut 44
            <td> <?php echo __($pa['vname'], 'wpsg');?></td>
45
            <td> <?php echo __($pa['menge'], 'wpsg');?></td>
46
            <td> <?php echo __($pa['email'], 'wpsg');?></td>
47
            <td> <?php echo __($pa['tel'], 'wpsg');?></td>
48
        </tr>
49
        <?php } ?>
50
 
51
        </tbody>
52
        </table>
53
	<?php } ?>
6033 hartmut 54
	</div>