Subversion Repositories wpShopGermany4

Rev

Rev 6033 | Go to most recent revision | 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>
6035 hartmut 34
			<td> <a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo __($pa['id'], 'wpsg');?>" target="_blank"><?php echo __($pa['onr'], 'wpsg');?></a></td>
6033 hartmut 35
			<td> <a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id=<?php echo __($pa['kid'], 'wpsg');?>" target="_blank"><?php echo __($pa['name'], 'wpsg');?></a></td>
6030 hartmut 36
            <td> <?php echo __($pa['vname'], 'wpsg');?></td>
37
            <td> <?php echo __($pa['menge'], 'wpsg');?></td>
38
            <td> <?php echo __($pa['email'], 'wpsg');?></td>
39
            <td> <?php echo __($pa['tel'], 'wpsg');?></td>
40
        </tr>
41
        <?php } ?>
42
 
43
        </tbody>
44
        </table>
45
	<?php } ?>
6033 hartmut 46
	</div>