<td {$valueStyle}>{$form.payment_instrument_id.html} {help id="payment_instrument_id"}</td>
</td>
</tr>
- {if $showCheckNumber || !$isOnline}
- <tr id="checkNumber" class="crm-contribution-form-block-check_number">
- <td class="label">{$form.check_number.label}</td>
- <td>{$form.check_number.html}</td>
- </tr>
- {/if}
<tr class="crm-contribution-form-block-trxn_id">
<td class="label">{$form.trxn_id.label}</td>
<td {$valueStyle}>{$form.trxn_id.html} {help id="id-trans_id"}</td>
{/literal}{/if}
});
</script>
- {if !$contributionMode}
- {crmAPI var="checkVal" entity="OptionValue" action="getvalue" version="3" option_group_id="payment_instrument" name="Check" return="value"}
- {include file="CRM/common/showHideByFieldValue.tpl"
- trigger_field_id ="payment_instrument_id"
- trigger_value = $checkVal
- target_element_id ="checkNumber"
- target_element_type ="table-row"
- field_type ="select"
- invert = 0
- }
- {/if}
{/if} {* not delete mode if*}
{/if} {* closing of main custom data if *}