Allow location type for organisation addresses be configurable.

This commit is contained in:
Jens Schuppe 2019-01-22 15:02:02 +01:00
parent d28248723b
commit 3a027cc7c9
5 changed files with 77 additions and 6 deletions

View file

@ -33,10 +33,49 @@
</tr>
<tr class="crm-section">
<td class="label">{$form.location_type_id.label}</td>
<td class="label">
{$form.location_type_id.label}
<a
onclick='
CRM.help(
"{ts domain="de.systopia.twingle"}Location type{/ts}",
{literal}{
"id": "id-location_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.location_type_id.html}</td>
</tr>
<tr class="crm-section">
<td class="label">
{$form.location_type_id_organisation.label}
<a
onclick='
CRM.help(
"{ts domain="de.systopia.twingle"}Location type for organisations{/ts}",
{literal}{
"id": "id-location_type_id_organisation",
"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.location_type_id_organisation.html}</td>
</tr>
<tr class="crm-section">
<td class="label">{$form.financial_type_id.label}</td>
<td class="content">{$form.financial_type_id.html}</td>