def get_unit_type_choices(): from htk.apps.addresses.enums import AddressUnitType choices = [( unit_type.value, get_enum_symbolic_name(unit_type), ) for unit_type in AddressUnitType] return choices
def get_organization_type_choices(): from htk.apps.customers.enums import OrganizationType choices = [( organization_type.value, get_enum_symbolic_name(organization_type), ) for organization_type in OrganizationType] return choices
def get_organization_team_member_role_choices(): from htk.apps.organizations.enums import OrganizationTeamMemberRoles choices = [( role.value, get_enum_symbolic_name(role), ) for role in OrganizationTeamMemberRoles] return choices
def get_invoice_payment_terms_choices(): from htk.apps.cpq.enums import InvoicePaymentTerm choices = [(payment_term.value, get_enum_symbolic_name(payment_term),) for payment_term in InvoicePaymentTerm] return choices
def get_organization_type_choices(): from htk.apps.customers.enums import OrganizationType choices = [(organization_type.value, get_enum_symbolic_name(organization_type),) for organization_type in OrganizationType] return choices
def status_display(self): value = get_enum_symbolic_name(InvitationStatus(self.status)) return value
def get_unit_type_choices(): from htk.apps.addresses.enums import AddressUnitType choices = [(unit_type.value, get_enum_symbolic_name(unit_type),) for unit_type in AddressUnitType] return choices