From 46adf42c095fbb6e0a14a4321ca0d7135cf91048 Mon Sep 17 00:00:00 2001 From: vivekarora Date: Fri, 11 Oct 2013 15:31:33 +0100 Subject: [PATCH] HR-176 - External ID - this field needs to be included below the CiviHR ID field --- CRM/Contact/Page/View/Summary.php | 3 ++- templates/CRM/Contact/Page/View/Summary.tpl | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CRM/Contact/Page/View/Summary.php b/CRM/Contact/Page/View/Summary.php index b1d09b9eeb..668bcc10cb 100644 --- a/CRM/Contact/Page/View/Summary.php +++ b/CRM/Contact/Page/View/Summary.php @@ -272,7 +272,8 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { //for birthdate format with respect to birth format set $this->assign('birthDateViewFormat', CRM_Utils_Array::value('qfMapping', CRM_Utils_Date::checkBirthDateFormat())); } - + + $defaults['external_identifier'] = $contact->external_identifier; $this->assign($defaults); // FIXME: when we sort out TZ isssues with DATETIME/TIMESTAMP, we can skip next query diff --git a/templates/CRM/Contact/Page/View/Summary.tpl b/templates/CRM/Contact/Page/View/Summary.tpl index 5b7d8e0521..cd9acaa303 100644 --- a/templates/CRM/Contact/Page/View/Summary.tpl +++ b/templates/CRM/Contact/Page/View/Summary.tpl @@ -200,6 +200,12 @@ +
+
{ts}External ID{/ts}
+
+ {if isset($external_identifier)}{$external_identifier}{/if} +
+
-- 2.25.1