Subversion Repositories wpShopGermany4

Rev

Rev 6033 | Go to most recent revision | Details | 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
 
9
	<?php
10
	if ($this->view['odata']['sum'] == 0) {
11
		echo __('Keine Daten', 'wpsg');
12
	} else {
13
	?>
14
 
15
        <?php echo __('Verkaufte Produkte:', 'wpsg');  echo $this->view['odata']['sum'] ?><br /><br />
16
        <table id="wpsg_statistic_table" style="width:100%;">
17
        <thead>
18
        <tr>
19
        <td><?php echo __('Bestell-ID', 'wpsg');?> </td>
20
        <td><?php echo __('Name', 'wpsg');?> </td>
21
        <td><?php echo __('Vorname', 'wpsg');?> </td>
22
        <td><?php echo __('Stück', 'wpsg');?> </td>
23
        <td><?php echo __('e-Mail', 'wpsg');?> </td>
24
        <td><?php echo __('Telefon', 'wpsg');?> </td>
25
        </tr>
26
        </thead>
27
        <tbody id="wpsg_statistic_tbody">
28
 
29
        <?php echo __($pa['id'], 'wpsg');?>
30
 
31
        <?php
32
        unset($this->view['odata']['sum']);
33
        foreach ($this->view['odata'] as $pa) { ?>
34
        <tr>
35
            <td> <?php echo __($pa['id'], 'wpsg');?></td>
36
            <td> <?php echo __($pa['name'], 'wpsg');?></td>
37
            <td> <?php echo __($pa['vname'], 'wpsg');?></td>
38
            <td> <?php echo __($pa['menge'], 'wpsg');?></td>
39
            <td> <?php echo __($pa['email'], 'wpsg');?></td>
40
            <td> <?php echo __($pa['tel'], 'wpsg');?></td>
41
        </tr>
42
        <?php } ?>
43
 
44
        </tbody>
45
        </table>
46
	<?php } ?>