class TaskMemberStatuses(DjangoChoices): applied = ChoiceItem('applied', label=_('Applied')) accepted = ChoiceItem('accepted', label=_('Accepted')) rejected = ChoiceItem('rejected', label=_('Rejected')) stopped = ChoiceItem('stopped', label=_('Stopped')) withdrew = ChoiceItem('withdrew', label=_('Withdrew')) realized = ChoiceItem('realized', label=_('Realised')) absent = ChoiceItem('absent', label=_('Absent'))
class NotificationType(DjangoChoices): LIKE = ChoiceItem('Like') COMMENT = ChoiceItem('Comment') FOLLOW = ChoiceItem('Follow')
class TaskAcceptingChoices(DjangoChoices): manual = ChoiceItem('manual', label=_('Manual')) automatic = ChoiceItem('automatic', label=_('Automatic'))
class TaskTypes(DjangoChoices): ongoing = ChoiceItem('ongoing', label=_('Ongoing (with deadline)')) event = ChoiceItem('event', label=_('Event (on set date)'))
class VoucherLanguages(DjangoChoices): en = ChoiceItem('en', label=_("English")) nl = ChoiceItem('nl', label=_("Dutch"))
class PlatformTypes(DjangoChoices): corporate = ChoiceItem('corporate', label=_('Corporate')) programs = ChoiceItem('programs', label=_('Programs')) civic = ChoiceItem('civic', label=_('Civic'))
class EmbedTypes(DjangoChoices): dashboard = ChoiceItem('dashboard', label=_('Dashboard')) look = ChoiceItem('look', label=_('Look')) space = ChoiceItem('space', label=_('Space'))
class values(DjangoChoices): draft = ChoiceItem('draft', _('draft')) submitted = ChoiceItem('submitted', _('submitted')) needs_work = ChoiceItem('needs_work', _('needs work')) approved = ChoiceItem('approved', _('approved')) closed = ChoiceItem('closed', _('closed'))
class ClassStatus(DjangoChoices): Upcoming = ChoiceItem(0) Ongoing = ChoiceItem(1) Completed = ChoiceItem(2)
class OtpType(DjangoChoices): Class = ChoiceItem(0)
class GenderType(DjangoChoices): Male = ChoiceItem("M") Female = ChoiceItem("F") Other = ChoiceItem("O")
class RoleType(DjangoChoices): Doctor = ChoiceItem("D") Assistant = ChoiceItem("A") Nurse = ChoiceItem("N")
class PublishedStatus(DjangoChoices): published = ChoiceItem('published', label=_("Published")) draft = ChoiceItem('draft', label=_("Draft"))
class StatusType(DjangoChoices): Created = ChoiceItem("CR") InProgress = ChoiceItem("IP") Postpone = ChoiceItem("PO") Cancelled = ChoiceItem("CA")
class Gender(DjangoChoices): male = ChoiceItem('male', label=_('Male')) female = ChoiceItem('female', label=_('Female'))
class UserType(DjangoChoices): person = ChoiceItem('person', label=_('Person')) company = ChoiceItem('company', label=_('Company')) foundation = ChoiceItem('foundation', label=_('Foundation')) school = ChoiceItem('school', label=_('School')) group = ChoiceItem('group', label=_('Club / association'))
class ClassReservedStatus(DjangoChoices): Pending = ChoiceItem(0) Confirmed = ChoiceItem(1) Cancelled = ChoiceItem(2)
class DocumentChoice(DjangoChoices): Pdf: ChoiceItem("PDF")
class AddressType(DjangoChoices): primary = ChoiceItem('primary', label=_("Primary")) secondary = ChoiceItem('secondary', label=_("Secondary"))
class PayoutRules(DjangoChoices): """ Which rules to use to calculate fees. """ beneath_threshold = ChoiceItem( 'beneath_threshold', label=_("Beneath minimal payout amount")) fully_funded = ChoiceItem('fully_funded', label=_("Fully funded")) not_fully_funded = ChoiceItem('not_fully_funded', label=_("Not fully funded")) # Legacy payout rules old = ChoiceItem('old', label=_("Legacy: Old 1%/5%")) zero = ChoiceItem('zero', label=_("Legacy: 0%")) five = ChoiceItem('five', label=_("Legacy: 5%")) seven = ChoiceItem('seven', label=_("Legacy: 7%")) twelve = ChoiceItem('twelve', label=_("Legacy: 12%")) hundred = ChoiceItem('hundred', label=_("Legacy: 100%")) unknown = ChoiceItem('unknown', label=_("Legacy: Unknown")) other = ChoiceItem('other', label=_("Legacy: Other"))
class TaskStatuses(DjangoChoices): open = ChoiceItem('open', label=_('Open')) full = ChoiceItem('full', label=_('Full')) in_progress = ChoiceItem('in progress', label=_('Running')) realized = ChoiceItem('realized', label=_('Realised')) closed = ChoiceItem('closed', label=_('Closed'))
class Type(DjangoChoices): sourcing = ChoiceItem('sourcing', label=_('Crowd-sourcing')) funding = ChoiceItem('funding', label=_('Crowd-funding')) both = ChoiceItem('both', label=_('Crowd-funding & Crowd-sourcing'))
class VoucherStatuses(DjangoChoices): new = ChoiceItem('new', label=_("New")) paid = ChoiceItem('paid', label=_("Paid")) cancelled = ChoiceItem('cancelled', label=_("Cancelled")) cashed = ChoiceItem('cashed', label=_("Cashed")) cashed_by_proxy = ChoiceItem('cashed_by_proxy', label=_("Cashed by us"))