Merge pull request #1784 from vivekarora/HR-176-Corrected
authorKurund Jalmi <kurund@civicrm.org>
Sat, 12 Oct 2013 14:03:15 +0000 (07:03 -0700)
committerKurund Jalmi <kurund@civicrm.org>
Sat, 12 Oct 2013 14:03:15 +0000 (07:03 -0700)
HR-176 - External ID - this field needs to be included below the CiviHR ...

CRM/Contact/Page/View/Summary.php
templates/CRM/Contact/Page/View/Summary.tpl

index b1d09b9eebd06e6056175f27b04bb8982c967cc4..668bcc10cbf20aa9c914a7e7bdc92f808b5d8915 100644 (file)
@@ -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
index 5b7d8e0521d3a4a5183a92a31e90d512bdd99d46..cd9acaa303366b08322a4c06ab242f0d2fc4ad8b 100644 (file)
                             </div>
                           </div>
                         </div>
+                        <div class="crm-summary-row">
+                          <div class="crm-label">{ts}External ID{/ts}</div>
+                            <div class="crm-content crm-contact_external_identifier_label">
+                              {if isset($external_identifier)}{$external_identifier}{/if}
+                            </div>
+                        </div>         
                       </div>
 
                     </div> <!-- end of right side -->