X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FContribute%2FForm%2FContribution.tpl;h=3191ccf6e9a6eee2e2343f3a7fdb4e51e6d6eb98;hb=794d4fc06bd35653bbca108095055f9469bd02cf;hp=db34df3c08f0f7e33edffc02aa44e1a765ae7433;hpb=146d89958a273935ea97b4157fa8c89c7a5bffc5;p=civicrm-core.git diff --git a/templates/CRM/Contribute/Form/Contribution.tpl b/templates/CRM/Contribute/Form/Contribution.tpl index db34df3c08..3191ccf6e9 100644 --- a/templates/CRM/Contribute/Form/Contribution.tpl +++ b/templates/CRM/Contribute/Form/Contribution.tpl @@ -234,6 +234,56 @@ {/if} + {if !$contributionMode} + + + + + + + + + + + {if $showCheckNumber || !$isOnline} + + + + + {/if} + + + + + {if $email and $outBound_option != 2} + + + + {elseif $context eq 'standalone' and $outBound_option != 2 } + + + + + {/if} + + + + + + + + +
{$form.receive_date.label}{include file="CRM/common/jcalendar.tpl" elementName=receive_date}
+ {ts}The date this contribution was received.{/ts} +
{$form.payment_instrument_id.label}{$form.payment_instrument_id.html} {help id="payment_instrument_id"}
{$form.check_number.label}{$form.check_number.html}
{$form.trxn_id.label}{$form.trxn_id.html} {help id="id-trans_id"}
+ {$form.is_email_receipt.label}{$form.is_email_receipt.html}  + {ts 1=$email}Automatically email a receipt for this payment to %1?{/ts} +
{$form.receipt_date.label}{include file="CRM/common/jcalendar.tpl" elementName=receipt_date}
+ {ts}Date that a receipt was sent to the contributor.{/ts} +
+ {/if} + {include file='CRM/Core/BillingBlockWrapper.tpl'} @@ -301,63 +351,6 @@ {/if} - {if !$contributionMode} -
-
- {ts}Payment Details{/ts} -
-
- - - - - - - - - - - {if $showCheckNumber || !$isOnline} - - - - - {/if} - - - - - {if $email and $outBound_option != 2} - - - - {elseif $context eq 'standalone' and $outBound_option != 2 } - - - - - {/if} - - - - - - - - -
{$form.receive_date.label}{include file="CRM/common/jcalendar.tpl" elementName=receive_date}
- {ts}The date this contribution was received.{/ts} -
{$form.payment_instrument_id.label}{$form.payment_instrument_id.html} {help id="payment_instrument_id"}
{$form.check_number.label}{$form.check_number.html}
{$form.trxn_id.label}{$form.trxn_id.html} {help id="id-trans_id"}
- {$form.is_email_receipt.label}{$form.is_email_receipt.html}  - {ts 1=$email}Automatically email a receipt for this payment to %1?{/ts} -
{$form.receipt_date.label}{include file="CRM/common/jcalendar.tpl" elementName=receipt_date}
- {ts}Date that a receipt was sent to the contributor.{/ts} -
-
-
- {/if} - {if !$payNow}
{/if} @@ -485,7 +478,7 @@ $('#is_email_receipt', $form).click(function() { checkEmailDependancies(); }); - + function checkEmailDependancies( ) { if ($('#is_email_receipt', $form).prop('checked')) { $('#fromEmail', $form).show(); @@ -498,11 +491,11 @@ } {/literal}{if !$contributionMode}{literal} showHideCancelInfo($('#contribution_status_id', $form)); - + $('#contribution_status_id', $form).change(function() { showHideCancelInfo($('#contribution_status_id', $form)); }); - + function showHideCancelInfo(obj) { var cancelInfo_show_ids = [{/literal}{$cancelInfo_show_ids}{literal}]; if (cancelInfo_show_ids.indexOf(obj.val()) > -1) {