Allow location type for organisation addresses be configurable.
This commit is contained in:
parent
d28248723b
commit
3a027cc7c9
5 changed files with 77 additions and 6 deletions
21
templates/CRM/Twingle/Form/Profile.hlp
Normal file
21
templates/CRM/Twingle/Form/Profile.hlp
Normal file
|
@ -0,0 +1,21 @@
|
|||
{*------------------------------------------------------------+
|
||||
| SYSTOPIA Twingle Integration |
|
||||
| Copyright (C) 2018 SYSTOPIA |
|
||||
| Author: J. Schuppe (schuppe@systopia.de) |
|
||||
+-------------------------------------------------------------+
|
||||
| This program is released as free software under the |
|
||||
| Affero GPL license. You can redistribute it and/or |
|
||||
| modify it under the terms of this license which you |
|
||||
| can read by viewing the included agpl.txt or online |
|
||||
| at www.gnu.org/licenses/agpl.html. Removal of this |
|
||||
| copyright header is strictly prohibited without |
|
||||
| written permission from the original author(s). |
|
||||
+-------------------------------------------------------------*}
|
||||
|
||||
{htxt id='id-location_type_id'}
|
||||
{ts domain="de.systopia.twingle"}Select which location type to use for addresses for individuals, either when no organisation name is specified, or an organisation address can not be shared with the individual contact.{/ts}
|
||||
{/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}
|
||||
{/htxt}
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue