[#1] (wip) Differing financial type for recurring contributions

This commit is contained in:
Jens Schuppe 2019-05-15 10:45:16 +02:00
parent cd6b5ad458
commit 7fec0d32e9
8 changed files with 607 additions and 6 deletions

View file

@ -17,5 +17,13 @@
{/htxt}
{htxt id='id-location_type_id_organisation'}
{ts domain="de.systopia.twingle"}Select which location type to use for addresses for organisations and shared organisation addresses for individual contacts{/ts}
{ts domain="de.systopia.twingle"}Select which location type to use for addresses for organisations and shared organisation addresses for individual contacts.{/ts}
{/htxt}
{htxt id='id-financial_type_id'}
{ts domain="de.systopia.twingle"}Select which financial type to use for one-time contributions.{/ts}
{/htxt}
{htxt id='id-financial_type_id_recur'}
{ts domain="de.systopia.twingle"}Select which financial type to use for recurring contributions.{/ts}
{/htxt}

View file

@ -77,10 +77,49 @@
</tr>
<tr class="crm-section">
<td class="label">{$form.financial_type_id.label}</td>
<td class="label">
{$form.financial_type_id.label}
<a
onclick='
CRM.help(
"{ts domain="de.systopia.twingle"}Financial type{/ts}",
{literal}{
"id": "id-financial_type_id",
"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.financial_type_id.html}</td>
</tr>
<tr class="crm-section">
<td class="label">
{$form.financial_type_id_recur.label}
<a
onclick='
CRM.help(
"{ts domain="de.systopia.twingle"}Financial type (recurring){/ts}",
{literal}{
"id": "id-financial_type_id_recur",
"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.financial_type_id_recur.html}</td>
</tr>
{if isset($form.sepa_creditor_id)}
<tr class="crm-section">
<td class="label">{$form.sepa_creditor_id.label}</td>