Skip to content

Constants

hypha.apply.projects.constants

INT_STAFF_PENDING module-attribute

INT_STAFF_PENDING = gettext_lazy('Staff pending')

INT_FINANCE_PENDING module-attribute

INT_FINANCE_PENDING = gettext_lazy('Finance pending')

INT_VENDOR_PENDING module-attribute

INT_VENDOR_PENDING = gettext_lazy('Vendor pending')

INT_DECLINED module-attribute

INT_DECLINED = gettext_lazy('Declined')

INT_PAID module-attribute

INT_PAID = gettext_lazy('Paid')

INT_PAYMENT_FAILED module-attribute

INT_PAYMENT_FAILED = gettext_lazy('Payment failed')

INT_ORG_PENDING module-attribute

INT_ORG_PENDING = format(ORG_SHORT_NAME)

INT_REQUEST_FOR_CHANGE module-attribute

INT_REQUEST_FOR_CHANGE = gettext_lazy('Request for change')

INVOICE_STATUS_BG_COLORS module-attribute

INVOICE_STATUS_BG_COLORS = {INT_ORG_PENDING: 'bg-yellow-100', INT_PAID: 'bg-green-100', INT_REQUEST_FOR_CHANGE: 'bg-blue-100', INT_PAYMENT_FAILED: 'bg-red-100', INT_DECLINED: 'bg-pink-100'}

INVOICE_STATUS_FG_COLORS module-attribute

INVOICE_STATUS_FG_COLORS = {INT_ORG_PENDING: 'text-yellow-700', INT_PAID: 'text-green-700', INT_REQUEST_FOR_CHANGE: 'text-blue-700', INT_PAYMENT_FAILED: 'text-red-700', INT_DECLINED: 'text-pink-700'}