Subversion Repositories wpShopGermany4

Compare Revisions

Ignore whitespace Rev 7485 → Rev 7486

/order/product_table.phtml
98,8 → 98,8
<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
<?php } ?>
 
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.editVoucher();"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.removeVoucher();"><span class="glyphicon glyphicon-trash"></span></a>
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.editVoucher(<?php echo $v['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.removeVoucher(<?php echo $v['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
</div>
<div>
Code: <?php echo $v['code']; ?>
109,7 → 109,7
<td class="wpsg_cell_preis">
<?php if (strpos($v['set'], '%') === false) { ?>
<?php echo wpsg_ff($arCalculation['sum']['voucher_'.$display], $this->get_option('wpsg_currency')); ?>
<?php echo wpsg_ff($v[$display], $this->get_option('wpsg_currency')); ?>
<?php } else { ?>
<?php echo wpsg_ff($v['set'], '%'); ?>
<?php } ?>
121,11 → 121,11
<td>1</td>
<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis"><?php
echo wpsg_ff($arCalculation['sum']['voucher_'.$display]); ?> <?php echo $this->get_option('wpsg_currency');
echo wpsg_ff($v[$display]); ?> <?php echo $this->get_option('wpsg_currency');
if (strpos($arCalculation['voucher'][0]['set'], '%') !== false) {
if (strpos($v['set'], '%') !== false) {
 
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($arCalculation['voucher'][0]['set']), '%').')</span>';
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($v['set']), '%').')</span>';
 
}
314,6 → 314,75
<?php } } ?>
<?php } ?>
<?php // Wertgutscheine ?>
<?php if (wpsg_isSizedArray($arCalculation['coupon'])) { ?>
<?php foreach ($arCalculation['coupon'] as $c) { ?>
 
<tr class="wpsg_row_discount wpsg_row_small">
<td colspan="" class="wpsg_cell_mwst_label">
 
<div>
<?php echo __('Wertgutschein', 'wpsg'); ?>
<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
<?php } else { ?>
<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
<?php } ?>
 
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Wertgtschein bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.editVoucher(<?php echo $c['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Wertgutschein löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.removeVoucher(<?php echo $c['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
</div>
<div>
Code: <?php echo $c['code']; ?>
</div>
 
</td>
<td class="wpsg_cell_preis">
<?php if (strpos($c['set'], '%') === false) { ?>
<?php echo wpsg_ff($c[$display], $this->get_option('wpsg_currency')); ?>
<?php } else { ?>
<?php echo wpsg_ff($c['set'], '%'); ?>
<?php } ?>
 
</td>
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$c['tax_key']]; ?></td>
<?php } ?>
<td>1</td>
<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis"><?php
echo wpsg_ff($c[$display]); ?> <?php echo $this->get_option('wpsg_currency');
if (strpos($c['set'], '%') !== false) {
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($c['set']), '%').')</span>';
}
?></td>
</tr>
<?php } ?>
 
<tr class="wpsg_row_gesamt">
<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
<strong><?php echo __('Zu zahlen', 'wpsg'); ?></strong>
<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
<?php } else { ?>
<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
<?php } ?>
</td>
<td class="wpsg_cell_gesamt_value wpsg_cell_gesamtpreis">
<strong><?php echo wpsg_ff($arCalculation['sum']['topay_brutto']); ?> <?php echo $this->get_option('wpsg_currency'); ?></strong>
</td>
</tr>
<?php } ?>
</tbody>
</table>