Skip to content

Commit

Permalink
CRM-20869, removed cruft code for check number
Browse files Browse the repository at this point in the history
----------------------------------------
* CRM-20869: Remove cruft code for check number
  https://issues.civicrm.org/jira/browse/CRM-20869
  • Loading branch information
pradpnayak authored and monishdeb committed Jul 23, 2017
1 parent f889275 commit d178b7c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 41 deletions.
10 changes: 0 additions & 10 deletions templates/CRM/Contribute/Form/AdditionalPayment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,4 @@

</script>
{/literal}
{if !$contributionMode}
{include file="CRM/common/showHideByFieldValue.tpl"
trigger_field_id ="payment_instrument_id"
trigger_value = '4'
target_element_id ="checkNumber"
target_element_type ="table-row"
field_type ="select"
invert = 0
}
{/if}
{/if}
11 changes: 0 additions & 11 deletions templates/CRM/Contribute/Form/Contribution.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -517,17 +517,6 @@
{/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 *}
Expand Down
12 changes: 0 additions & 12 deletions templates/CRM/Event/Form/EventFees.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
<td>{include file="CRM/common/jcalendar.tpl" elementName=receive_date}</td>
</tr>
<tr class="crm-event-eventfees-form-block-payment_instrument_id"><td class="label">{$form.payment_instrument_id.label}<span class="crm-marker"> *</span></td><td>{$form.payment_instrument_id.html} {help id="payment_instrument_id" file="CRM/Contribute/Page/Tab.hlp"}</td></tr>
<tr id="checkNumber" class="crm-event-eventfees-form-block-check_number"><td class="label">{$form.check_number.label}</td><td>{$form.check_number.html|crmAddClass:six}</td></tr>
{if $showTransactionId }
<tr class="crm-event-eventfees-form-block-trxn_id"><td class="label">{$form.trxn_id.label}</td><td>{$form.trxn_id.html}</td></tr>
{/if}
Expand Down Expand Up @@ -177,17 +176,6 @@
}
{/if}

{if $paid and ($action eq 1 or ( $action eq 2 and !$hasPayment) ) and !$participantMode}
{include file="CRM/common/showHideByFieldValue.tpl"
trigger_field_id ="payment_instrument_id"
trigger_value = '4'
target_element_id ="checkNumber"
target_element_type ="table-row"
field_type ="select"
invert = 0
}
{/if}

{if $context eq 'standalone' and $outBound_option != 2 }
<script type="text/javascript">
{literal}
Expand Down
8 changes: 0 additions & 8 deletions templates/CRM/Member/Form/MembershipRenewal.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,6 @@
{/if}

{if !$membershipMode}
{include file="CRM/common/showHideByFieldValue.tpl"
trigger_field_id ="payment_instrument_id"
trigger_value = '4'
target_element_id ="checkNumber"
target_element_type ="table-row"
field_type ="select"
invert = 0
}
{include file="CRM/common/showHideByFieldValue.tpl"
trigger_field_id ="send_receipt"
trigger_value =""
Expand Down

0 comments on commit d178b7c

Please sign in to comment.