</tr>
<tr class="crm-pledge-form-block-installments">
<td class="label">{$form.installments.label}</td>
- <td>{$form.installments.html} {ts}installments of{/ts} {if $action eq 1 or $isPending}{$form.eachPaymentAmount.html|crmMoney:$currency}{elseif $action eq 2 and !$isPending}{$eachPaymentAmount|crmMoney:$currency}{/if} {ts}every{/ts} {$form.frequency_interval.html} {$form.frequency_unit.html}</td></tr>
+ <td>{$form.installments.html} {ts}installments of{/ts}
+ {if $action eq 1 or $isPending}
+ <span class="currency-symbol">{$form.eachPaymentAmount.html|crmMoney:$currency}</span>
+ {elseif $action eq 2 and !$isPending}
+ <span class="currency-symbol">{$eachPaymentAmount|crmMoney:$currency} </span>
+ {/if} {ts}every{/ts} {$form.frequency_interval.html} {$form.frequency_unit.html}</td></tr>
<tr class="crm-pledge-form-block-frequency_day">
<td class="label nowrap">{$form.frequency_day.label}</td>
<td>{$form.frequency_day.html} {ts}day of the period{/ts}<br />
// bind first click of accordion header to load crm-accordion-body with snippet
// everything else taken care of by cj().crm-accordions()
cj(document).ready( function() {
+
+ cj('#currency').closest('tr').next('tr').find('.currency-symbol').text(cj('#currency option:selected').text());
+ // if there are more than one currency enabled.
+ cj('#currency').change(function(){
+ cj('#currency').closest('tr').next('tr').find('.currency-symbol').text(cj(this).find(':selected').text());
+ }
+ );
cj('.crm-ajax-accordion .crm-accordion-header').one('click', function() {
loadPanes(cj(this).attr('id'));
});