Contacts
This commit is contained in:
@@ -217,7 +217,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
itemTypes.Add(Sbm.ItemType.Interface, "Interface", "Interface");
|
||||
|
||||
//---------------------------------------------------------------
|
||||
// A s s o c i a t i o n s
|
||||
// Accounts.
|
||||
//---------------------------------------------------------------
|
||||
// Affiliate Type.
|
||||
affiliateTypes.Add(Sbm.AffiliateType.Individual, "IND", "Individual");
|
||||
@@ -238,7 +238,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
associationTypes.Add(Sbm.AssociationType.FinanceAgency, "FIN", "Finance agency");
|
||||
|
||||
//---------------------------------------------------------------
|
||||
// T r a n s a c t i o n s
|
||||
// Transactions.
|
||||
//---------------------------------------------------------------
|
||||
// Transaction StatusCat.
|
||||
transactionStatusCats.Add(SbmTransaction.StatusCat.Pending, "PEN", "Pending");
|
||||
|
||||
@@ -455,6 +455,12 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Bus
|
||||
return IsContactGroup(AffiliateType);
|
||||
}
|
||||
|
||||
/// <summary>Most significant phone number.</summary>
|
||||
public String GetPhone()
|
||||
{
|
||||
return StringUtil.OnBlank(PhoneMain, PhoneAlt, PhoneMobile, PhoneDirect);
|
||||
}
|
||||
|
||||
// Email validation.
|
||||
public static bool IsValidEmail(String email)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user