<tr>
<td class="font-size12pt label"><strong>{if $component eq 'event'}{ts}Participant{/ts}{else}{ts}Contact{/ts}{/if}</strong></td><td class="font-size12pt"><strong>{$displayName}</strong></td>
</tr>
- {if $contributionMode}
- <tr class="crm-payment-form-block-payment_processor_id"><td class="label nowrap">{$form.payment_processor_id.label}<span class="crm-marker"> * </span></td><td>{$form.payment_processor_id.html}</td></tr>
- {/if}
{if $eventName}
<tr>
<td class='label'>{ts}Event{/ts}</td><td>{$eventName}</td>
<td>{$form.from_email_address.html}</td>
</tr>
{/if}
+ {if $contributionMode}
+ <tr class="crm-payment-form-block-payment_processor_id"><td class="label nowrap">{$form.payment_processor_id.label}<span class="crm-marker"> * </span></td><td>{$form.payment_processor_id.html}</td></tr>
+ {/if}
</tr>
</table>
<td class="label">{$form.contact_id.label}</td>
<td>{$form.contact_id.html}</td>
{/if}
- {if $contributionMode}
- <tr class="crm-contribution-form-block-payment_processor_id"><td class="label nowrap">{$form.payment_processor_id.label}<span class="crm-marker"> * </span></td><td>{$form.payment_processor_id.html}</td></tr>
- {/if}
<tr class="crm-contribution-form-block-contribution_type_id crm-contribution-form-block-financial_type_id">
<td class="label">{$form.financial_type_id.label}</td><td{$valueStyle}>{$form.financial_type_id.html}
{if $is_test}
<span class="description">{ts}Date that a receipt was sent to the contributor.{/ts}</span>
</td>
</tr>
-
+ {if $contributionMode}
+ <tr class="crm-contribution-form-block-payment_processor_id"><td class="label nowrap">{$form.payment_processor_id.label}<span class="crm-marker"> * </span></td><td>{$form.payment_processor_id.html}</td></tr>
+ {/if}
</table>
{if !$contributionMode}
</tr>
{/if}
{/if}
- {if $participantMode}
- <tr class="crm-participant-form-block-payment_processor_id">
- <td class="label nowrap">{$form.payment_processor_id.label}</td>
- <td>{$form.payment_processor_id.html}</td>
- </tr>
- {/if}
<tr class="crm-participant-form-block-event_id">
<td class="label">{$form.event_id.label}</td>
<td class="view-value">
<td class="label">{$form.source.label}</td><td>{$form.source.html|crmAddClass:huge}<br />
<span class="description">{ts}Source for this registration (if applicable).{/ts}</span></td>
</tr>
+ {if $participantMode}
+ <tr class="crm-participant-form-block-payment_processor_id">
+ <td class="label nowrap">{$form.payment_processor_id.label}</td>
+ <td>{$form.payment_processor_id.html}</td>
+ </tr>
+ {/if}
</table>
{if $participantId and $hasPayment}
<table class='form-layout'>
<td class="label">{$form.contact_id.label}</td>
<td>{$form.contact_id.html}</td>
{/if}
- {if $membershipMode}
- <tr>
- <td class="label">{$form.payment_processor_id.label}</td>
- <td>{$form.payment_processor_id.html}</td>
- </tr>
- {/if}
<tr class="crm-membership-form-block-membership_type_id">
<td class="label">{$form.membership_type_id.label}</td>
<td><span id='mem_type_id'>{$form.membership_type_id.html}</span>
<fieldset id="recordContribution"><legend>{ts}Membership Payment and Receipt{/ts}</legend>
{/if}
{include file="CRM/Member/Form/MembershipCommon.tpl"}
-
{if $emailExists and $isEmailEnabledForSite}
<tr id="send-receipt" class="crm-membership-form-block-send_receipt">
<td class="label">{$form.send_receipt.label}</td><td>{$form.send_receipt.html}<br />
<div class="spacer"></div>
{/if}
-
+{if $membershipMode}
+ <tr>
+ <td class="label">{$form.payment_processor_id.label}</td>
+ <td>{$form.payment_processor_id.html}</td>
+ </tr>
+{/if}
<tr class="crm-membership-form-block-billing">
<td colspan="2">
{include file='CRM/Core/BillingBlockWrapper.tpl'}