?> <tr> <td colspan="4"><?php echo __('Shipping rate'); ?> :</td> <td><?php echo $rt_shop_order->getShippingCharge() != false ? format_currency($rt_shop_order->getShippingCharge(), sfConfig::get('app_rt_currency', 'USD')) : __('undefined'); ?> </td> </tr> <?php $includes_message = ''; if (sfConfig::get('app_rt_shop_tax_rate', 0) > 0 && sfConfig::get('app_rt_shop_tax_mode') == 'inclusive') { $includes_message = sprintf('(includes %s tax)', format_currency(rtShopCartManager::calcTaxComponent($rt_shop_order->getTotalCharge()), sfConfig::get('app_rt_currency', 'USD'))); } ?> <tr> <td colspan="4"><?php echo __('Total'); ?> <?php echo $includes_message; ?> :</td> <td><?php echo format_currency($rt_shop_order->getTotalCharge(), sfConfig::get('app_rt_currency', 'USD')); ?> </td> </tr>