X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FContact%2FForm%2FRelationship.tpl;h=40295ddcc5b51fc8fb5b34aabc7720aeecea4fb2;hb=4bbcbcbb713357f4e5dff143eeb4a243ad6ea6c9;hp=52ec8d4c70c2bc5b07e842f581f6b061ae6f66ac;hpb=e4271b124a02a2cc9ba242eca53d2e3549aaa672;p=civicrm-core.git diff --git a/templates/CRM/Contact/Form/Relationship.tpl b/templates/CRM/Contact/Form/Relationship.tpl index 52ec8d4c70..40295ddcc5 100644 --- a/templates/CRM/Contact/Form/Relationship.tpl +++ b/templates/CRM/Contact/Form/Relationship.tpl @@ -1,6 +1,6 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.3 | + | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ @@ -77,6 +77,8 @@ {/if} {if $action eq 2 | $action eq 1} {* add and update actions *} + {* Retrieve the ID for the Employee / Employer relationship type *} + {crmAPI var="employmentRelationship" entity="RelationshipType" action="getvalue" version="3" name_a_b="Employee of" return="id"}