first commit
This commit is contained in:
11
apps/backend/modules/stOrder/templates/_total_amount.php
Normal file
11
apps/backend/modules/stOrder/templates/_total_amount.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
use_helper('stOrder');
|
||||
$total_amount = $order->getOptTotalAmount();
|
||||
?>
|
||||
<?php if ($order->getOrderCurrency()->getExchange() != 1): $currency = stCurrency::getDefault() ?>
|
||||
<spam class="list_tooltip" title="<?php echo st_order_price_format($order->getOrderCurrency()->exchange($total_amount, true), $currency) ?>">
|
||||
<?php echo st_order_price_format($total_amount, $order->getOrderCurrency()) ?>
|
||||
</span>
|
||||
<?php else: ?>
|
||||
<?php echo st_order_price_format($total_amount, $order->getOrderCurrency()) ?>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user