Beispiel #1
0
 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'))
Beispiel #2
0
 class NotificationType(DjangoChoices):
     LIKE = ChoiceItem('Like')
     COMMENT = ChoiceItem('Comment')
     FOLLOW = ChoiceItem('Follow')
Beispiel #3
0
 class TaskAcceptingChoices(DjangoChoices):
     manual = ChoiceItem('manual', label=_('Manual'))
     automatic = ChoiceItem('automatic', label=_('Automatic'))
Beispiel #4
0
 class TaskTypes(DjangoChoices):
     ongoing = ChoiceItem('ongoing', label=_('Ongoing (with deadline)'))
     event = ChoiceItem('event', label=_('Event (on set date)'))
Beispiel #5
0
 class VoucherLanguages(DjangoChoices):
     en = ChoiceItem('en', label=_("English"))
     nl = ChoiceItem('nl', label=_("Dutch"))
Beispiel #6
0
 class PlatformTypes(DjangoChoices):
     corporate = ChoiceItem('corporate', label=_('Corporate'))
     programs = ChoiceItem('programs', label=_('Programs'))
     civic = ChoiceItem('civic', label=_('Civic'))
Beispiel #7
0
 class EmbedTypes(DjangoChoices):
     dashboard = ChoiceItem('dashboard', label=_('Dashboard'))
     look = ChoiceItem('look', label=_('Look'))
     space = ChoiceItem('space', label=_('Space'))
Beispiel #8
0
 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'))
Beispiel #9
0
class ClassStatus(DjangoChoices):
    Upcoming = ChoiceItem(0)
    Ongoing = ChoiceItem(1)
    Completed = ChoiceItem(2)
Beispiel #10
0
class OtpType(DjangoChoices):
    Class = ChoiceItem(0)
Beispiel #11
0
class GenderType(DjangoChoices):
    Male = ChoiceItem("M")
    Female = ChoiceItem("F")
    Other = ChoiceItem("O")
Beispiel #12
0
class RoleType(DjangoChoices):
    Doctor = ChoiceItem("D")
    Assistant = ChoiceItem("A")
    Nurse = ChoiceItem("N")
Beispiel #13
0
class PublishedStatus(DjangoChoices):
    published = ChoiceItem('published', label=_("Published"))
    draft = ChoiceItem('draft', label=_("Draft"))
Beispiel #14
0
class StatusType(DjangoChoices):
  Created = ChoiceItem("CR")
  InProgress = ChoiceItem("IP")
  Postpone = ChoiceItem("PO")
  Cancelled = ChoiceItem("CA")
Beispiel #15
0
 class Gender(DjangoChoices):
     male = ChoiceItem('male', label=_('Male'))
     female = ChoiceItem('female', label=_('Female'))
Beispiel #16
0
 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'))
Beispiel #17
0
class ClassReservedStatus(DjangoChoices):
    Pending = ChoiceItem(0)
    Confirmed = ChoiceItem(1)
    Cancelled = ChoiceItem(2)
Beispiel #18
0
class DocumentChoice(DjangoChoices):
    Pdf: ChoiceItem("PDF")
Beispiel #19
0
 class AddressType(DjangoChoices):
     primary = ChoiceItem('primary', label=_("Primary"))
     secondary = ChoiceItem('secondary', label=_("Secondary"))
Beispiel #20
0
    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"))
Beispiel #21
0
 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'))
Beispiel #22
0
 class Type(DjangoChoices):
     sourcing = ChoiceItem('sourcing', label=_('Crowd-sourcing'))
     funding = ChoiceItem('funding', label=_('Crowd-funding'))
     both = ChoiceItem('both', label=_('Crowd-funding & Crowd-sourcing'))
Beispiel #23
0
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"))