added code to insert custom data for soft credits
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
{assign var='blockId' value=$smarty.section.i.index}
|
||||
<tr id="soft-credit-custom_row-{$blockId}" class="customFieldIgnore {if $blockId gte $showSoftCreditRow}hiddenElement{/if}" >
|
||||
<td colspan='3'>
|
||||
{foreach from=$soft_credit_groupTree.$blockId item=cd_edit key=group_id name=custom_sets}
|
||||
{foreach from=$soft_credit_custom_groupTree.$blockId item=cd_edit key=group_id name=custom_sets}
|
||||
{if $cd_edit.is_multiple and $multiRecordDisplay eq 'single'}
|
||||
{assign var="isSingleRecordEdit" value=TRUE}
|
||||
{else}
|
||||
@ -12,7 +12,7 @@
|
||||
{/if}
|
||||
{if $isSingleRecordEdit}
|
||||
<div class="custom-group custom-group-{$cd_edit.name}">
|
||||
{include file="CRM/Custom/Form/Edit/CustomData.tpl" customDataEntity='soft_credit'}
|
||||
{include file="CRM/Custom/Form/Edit/CustomData.tpl" customDataEntity='soft_credit_custom'}
|
||||
</div>
|
||||
{else}
|
||||
<div class="custom-group custom-group-{$cd_edit.name} crm-accordion-wrapper crm-custom-accordion {if $cd_edit.collapse_display and !$skipTitle}collapsed{/if}">
|
||||
@ -22,7 +22,7 @@
|
||||
</div><!-- /.crm-accordion-header -->
|
||||
{/if}
|
||||
<div class="crm-accordion-body">
|
||||
{include file="CRM/Custom/Form/Edit/CustomData.tpl" customDataEntity='soft_credit'}
|
||||
{include file="CRM/Custom/Form/Edit/CustomData.tpl" customDataEntity='soft_credit_custom'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
Reference in New Issue
Block a user