Line 47... |
Line 47... |
47 |
</tr>
|
47 |
</tr>
|
48 |
</thead>
|
48 |
</thead>
|
49 |
<tbody>
|
49 |
<tbody>
|
50 |
|
50 |
|
51 |
<tr><td colspan="<?php echo $this->view['colspan'] + 1; ?>" style="line-height:2px; height:2px; background-color:#999999; padding:0px;"></td></tr>
|
51 |
<tr><td colspan="<?php echo $this->view['colspan'] + 1; ?>" style="line-height:2px; height:2px; background-color:#999999; padding:0px;"></td></tr>
|
52 |
<?php $i = 0; foreach ($arCalculation['product'] as $p) { $i ++; $product_price = $p[$display.'_single']; ?>
|
52 |
<?php $i = 0; foreach ($arCalculation['product'] as $p) { $i ++; $product_price = $p[$display.'_single'];
|
- |
|
53 |
|
- |
|
54 |
$oProduct = wpsg_product::getInstance(intval($p['product_id']));
|
- |
|
55 |
if (($p['product_key']??'') !== '') $oProduct->setProductKey($p['product_key']);
|
- |
|
56 |
|
- |
|
57 |
?>
|
53 |
<tr class="wpsg_<?php echo (($i % 2 == 0)?'odd':'even'); ?>">
|
58 |
<tr class="wpsg_<?php echo (($i % 2 == 0)?'odd':'even'); ?>">
|
54 |
<td colspan="<?php echo $this->view['colspan'] + 1; ?>">
|
59 |
<td colspan="<?php echo $this->view['colspan'] + 1; ?>">
|
55 |
|
60 |
|
56 |
<?php if (wpsg_isTrue($p['eu'])) { ?>
|
61 |
<?php if (wpsg_isTrue($p['eu'])) { ?>
|
57 |
<img src="<?php echo WPSG_URL; ?>views/gfx/eu.png" alt="<?php echo __('Produkt unterliegt der EU-Leistungsortregel', 'wpsg'); ?>" title="<?php echo __('Produkt unterliegt der EU-Leistungsortregel', 'wpsg'); ?>" height="14" />
|
62 |
<img src="<?php echo WPSG_URL; ?>views/gfx/eu.png" alt="<?php echo __('Produkt unterliegt der EU-Leistungsortregel', 'wpsg'); ?>" title="<?php echo __('Produkt unterliegt der EU-Leistungsortregel', 'wpsg'); ?>" height="14" />
|
Line 60... |
Line 65... |
60 |
<a href="<?php
|
65 |
<a href="<?php
|
61 |
|
66 |
|
62 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$p['product_id'], 'wpsg-product-edit-'.wpsg_getInt($p['product_id']));
|
67 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$p['product_id'], 'wpsg-product-edit-'.wpsg_getInt($p['product_id']));
|
63 |
|
68 |
|
64 |
?>" title="<?php echo __('Zum Produkt', 'wpsg'); ?>">
|
69 |
?>" title="<?php echo __('Zum Produkt', 'wpsg'); ?>">
|
65 |
<?php echo wpsg_hspc($this->getProductName($p['product_id'])); ?>
|
70 |
<?php echo wpsg_hspc($oProduct->getProductName(false)); ?>
|
66 |
</a>
|
71 |
</a>
|
67 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Produkt bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Product.editProduct(<?php echo $p['order_product_id']; ?>);"><span class="glyphicon glyphicon-pencil"></span></a>
|
72 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Produkt bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Product.editProduct(<?php echo $p['order_product_id']; ?>);"><span class="glyphicon glyphicon-pencil"></span></a>
|
68 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Produkt löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Product.removeProduct(<?php echo $p['order_product_id']; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
|
73 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Produkt löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Product.removeProduct(<?php echo $p['order_product_id']; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
|
69 |
</td>
|
74 |
</td>
|
70 |
</tr>
|
75 |
</tr>
|