projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #12824 from jmcclelland/issue389
[civicrm-core.git]
/
templates
/
CRM
/
Contribute
/
Page
/
PaymentInfo.tpl
diff --git
a/templates/CRM/Contribute/Page/PaymentInfo.tpl
b/templates/CRM/Contribute/Page/PaymentInfo.tpl
index 0a4ffacecb2bc2810271766cfcd9974f545c4eab..482c22a366e07af42a5b877ae7e2943b8d1c117a 100644
(file)
--- a/
templates/CRM/Contribute/Page/PaymentInfo.tpl
+++ b/
templates/CRM/Contribute/Page/PaymentInfo.tpl
@@
-36,7
+36,7
@@
CRM.$(function($) {
$("#payment-info").html(html).trigger('crmLoad');
}
});
$("#payment-info").html(html).trigger('crmLoad');
}
});
-
+ // Fixme: Possible bug - the following line won't be processed by smarty because it's in a literal block
var taxAmount = "{$totalTaxAmount}";
if (taxAmount) {
$('.total_amount-section').show();
var taxAmount = "{$totalTaxAmount}";
if (taxAmount) {
$('.total_amount-section').show();
@@
-61,10
+61,10
@@
CRM.$(function($) {
<th class="right">{ts}Balance{/ts}</th>
</tr>
<tr>
<th class="right">{ts}Balance{/ts}</th>
</tr>
<tr>
- <td>{$paymentInfo.total|crmMoney}</td>
+ <td>{$paymentInfo.total|crmMoney
:$paymentInfo.currency
}</td>
<td class='right'>
{if $paymentInfo.paid > 0}
<td class='right'>
{if $paymentInfo.paid > 0}
- {$paymentInfo.paid|crmMoney}
+ {$paymentInfo.paid|crmMoney
:$paymentInfo.currency
}
{if !$hideButtonLinks}
<br/>
<a class="crm-hover-button action-item crm-popup medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&cid=`$cid`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&action=browse"}'>
{if !$hideButtonLinks}
<br/>
<a class="crm-hover-button action-item crm-popup medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&cid=`$cid`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&action=browse"}'>
@@
-74,7
+74,7
@@
CRM.$(function($) {
{/if}
{/if}
</td>
{/if}
{/if}
</td>
- <td class="right" id="payment-info-balance" data-balance="{$paymentInfo.balance}">{$paymentInfo.balance|crmMoney}</td>
+ <td class="right" id="payment-info-balance" data-balance="{$paymentInfo.balance}">{$paymentInfo.balance|crmMoney
:$paymentInfo.currency
}</td>
</tr>
</table>
{if $paymentInfo.balance and !$paymentInfo.payLater && !$hideButtonLinks}
</tr>
</table>
{if $paymentInfo.balance and !$paymentInfo.payLater && !$hideButtonLinks}