v1.2.3.2
This commit is contained in:
@@ -392,6 +392,21 @@ namespace Saxonite.Net.Core.Web.Base.Models
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// List of Organisation Categories for Admin dropdown.
|
||||
/// <para>Includes complete set of categories.</para>
|
||||
/// </summary>
|
||||
public IEnumerable<SelectListItem> AdminOrganisationCategoriesForSelect
|
||||
{
|
||||
get
|
||||
{
|
||||
List<SelectListItem> values = new List<SelectListItem>();
|
||||
foreach (TypeCodeDesc organisationCategory in OrganisationCategoryCodes)
|
||||
values.Add(new SelectListItem(Localiser.GetOrganisationCategoryCaption((Sax.OrganisationCategory)organisationCategory.Type), organisationCategory.Code));
|
||||
return values;
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Messages.
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user