<div>
	<table class="table table-borderless">
		<!-- Regular Price -->
			<tr>
				<td>
				<div><?php 
echo XiText::_('COM_PAYPLANS_ORDER_CONFIRM_REGULAR_TOTAL');
?>
</div>
				<div><sup>(<?php 
echo XiText::_('COM_PAYPLANS_ORDER_CONFIRM_DISCOUNTABLE_TAXABLE');
?>
)</sup>&nbsp;</div>
			</td>
			<td class="text-right pp-payment-header-price"><?php 
echo PayplansHelperFormat::price($subtotal);
?>
</td>
		</tr>

		<!-- Discountable and Taxable Price -->
		<!-- do not add if the amount is zero -->
		<?php 
$discountables = $invoice->getModifiers(array('serial' => array(PayplansModifier::FIXED_DISCOUNTABLE, PayplansModifier::PERCENT_DISCOUNTABLE, PayplansModifier::PERCENT_OF_SUBTOTAL_DISCOUNTABLE), 'invoice_id' => $invoice->getId()));
$discountables = PayplansHelperModifier::_rearrange($discountables);
foreach ($discountables as $discountable) {
    //if($discountable->_modificationOf == "0") continue;
    ?>
			<tr class="discountable-amount">
				<td>
					<div><?php