add purchace limitations system for rancher - add incentive plans to rancher entries data
This commit is contained in:
@@ -9,3 +9,11 @@ class TokenBlackListedException(APIException):
|
||||
status_code = status.HTTP_401_UNAUTHORIZED
|
||||
default_detail = _('unauthorized')
|
||||
default_code = 'unauthorized'
|
||||
|
||||
|
||||
class OrganizationBankAccountException(APIException):
|
||||
""" if organization does not have bank account """
|
||||
|
||||
status_code = status.HTTP_403_FORBIDDEN
|
||||
default_detail = "برای این سازمان حساب بانکی تعریف نشده است, ابتدا حساب بانکی تعریف کنید" # noqa
|
||||
default_code = "برای این سازمان حساب بانکی تعریف نشده است" # noqa
|
||||
|
||||
Reference in New Issue
Block a user