notification: change notification data
This commit is contained in:
@@ -88,7 +88,8 @@ class MultipleOrderCreateSerializer(serializers.Serializer):
|
||||
body = f"""{user.full_name} {order.project_folder.name} uchun {order.wherehouse.name} ombor ga {order.quantity} {order.unity.value} {order.product.name} ga buyurtma berdi. Buyurtma yetkazish sanasi {common_date}
|
||||
"""
|
||||
data = {
|
||||
"screen": "/supply"
|
||||
"screen": "/supply",
|
||||
"type": "order"
|
||||
}
|
||||
notify_user(user=user, title="Ta'minot",body=body, data=data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user