create rancher incentive plan structure - add pos device main sheba
This commit is contained in:
@@ -53,3 +53,13 @@ class FreePOSProductUniqueCheck(APIException):
|
||||
status_code = status.HTTP_403_FORBIDDEN
|
||||
default_detail = "محصول مورد نظر برای این دستگاه از قبل ثبت شده است" # noqa
|
||||
default_code = 'error'
|
||||
|
||||
|
||||
class RancherIncentivePlanExists(APIException):
|
||||
"""
|
||||
raise exception if rancher with same info
|
||||
"""
|
||||
|
||||
status_code = status.HTTP_403_FORBIDDEN
|
||||
default_detail = "این دامدار برای این طرح با این نوع گونه دام قبلا اضافه شده است" # noqa
|
||||
default_code = 'error'
|
||||
|
||||
Reference in New Issue
Block a user