Skip to content

Constants

hypha.apply.projects.constants

INT_STAFF_PENDING module-attribute

INT_STAFF_PENDING = _('Staff pending')

INT_FINANCE_PENDING module-attribute

INT_FINANCE_PENDING = _('Finance pending')

INT_VENDOR_PENDING module-attribute

INT_VENDOR_PENDING = _('Vendor pending')

INT_DECLINED module-attribute

INT_DECLINED = _('Declined')

INT_PAID module-attribute

INT_PAID = _('Paid')

INT_PAYMENT_FAILED module-attribute

INT_PAYMENT_FAILED = _('Payment failed')

INT_ORG_PENDING module-attribute

INT_ORG_PENDING = _('{} pending').format(settings.ORG_SHORT_NAME)

INT_REQUEST_FOR_CHANGE module-attribute

INT_REQUEST_FOR_CHANGE = _('Request for change')

INVOICE_STATUS_CLASSNAME_MAP module-attribute

INVOICE_STATUS_CLASSNAME_MAP = {INT_ORG_PENDING: 'badge badge-warning', INT_PAID: 'badge badge-success', INT_REQUEST_FOR_CHANGE: 'badge badge-info', INT_PAYMENT_FAILED: 'badge badge-error', INT_DECLINED: 'badge badge-error'}