add profile settings for note mapping

This commit is contained in:
Marc Michalsky 2024-04-26 18:19:16 +02:00
parent aee56769b7
commit 9836168122
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
4 changed files with 84 additions and 1 deletions

View file

@ -75,4 +75,14 @@
<li><strong>ContributionRecur</strong> &ndash; Will be set on the recurring contribution and deriving single contributions</li>
</ul>{/ts}
{/htxt}
{/crmScope}
{htxt id='id-map_as_contribution_notes'}
{ts domain="de.systopia.twingle"}<p>Create a contribution note for each field specified in this selection.</p>
<p><i>Tip: You can enable or disable this fields in the TwingleMANAGER.</i></p>{/ts}
{/htxt}
{htxt id='id-map_as_contact_notes'}
{ts domain="de.systopia.twingle"}<p>Create a contact note for each field specified in this selection.</p>
<p><i>Tip: You can enable or disable this fields in the TwingleMANAGER.</i></p>{/ts}
{/htxt}
{/crmScope}

View file

@ -313,6 +313,50 @@
<td class="content">{$form.contribution_source.html}</td>
</tr>
<tr class="crm-section">
<td class="label">
{$form.map_as_contribution_notes.label}
<a
onclick='
CRM.help(
"{ts domain="de.systopia.twingle"}Create contribution note for{/ts}",
{literal}{
"id": "id-map_as_contribution_notes",
"file": "CRM\/Twingle\/Form\/Profile"
}{/literal}
);
return false;
'
href="#"
title="{ts domain="de.systopia.twingle"}Help{/ts}"
class="helpicon"
></a>
</td>
<td class="content">{$form.map_as_contribution_notes.html}</td>
</tr>
<tr class="crm-section">
<td class="label">
{$form.map_as_contact_notes.label}
<a
onclick='
CRM.help(
"{ts domain="de.systopia.twingle"}Create contact note for{/ts}",
{literal}{
"id": "id-map_as_contact_notes",
"file": "CRM\/Twingle\/Form\/Profile"
}{/literal}
);
return false;
'
href="#"
title="{ts domain="de.systopia.twingle"}Help{/ts}"
class="helpicon"
></a>
</td>
<td class="content">{$form.map_as_contact_notes.html}</td>
</tr>
<tr class="crm-section">
<td class="label">
{$form.custom_field_mapping.label}