<?php
/*------------------------------------------------------------------------
 # mod_j2store_cart - J2Store Cart
# ------------------------------------------------------------------------
# author    Ramesh Elamathi - ThemeParrot http://www.themeparrot.com
# copyright Copyright (C) 2012 ThemeParrot.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<?php if($totals = $order->get_formatted_order_totals()): ?>
	<?php foreach($totals as $total): ?>
		<tr valign="top">
			<th scope="row" colspan="2">
				<?php echo $total['label']; ?>
					<?php if(isset($total['link'])):?>
						<?php echo $total['link']; ?>
					<?php endif;?>
			</th>
			<td><?php echo $total['value']; ?></td>
		</tr>
	<?php endforeach; ?>
<?php endif; ?>
