notification: change notification data

This commit is contained in:
behruz-dev
2025-10-30 16:41:30 +05:00
parent 21b868c06f
commit 22a54480a4
3 changed files with 5 additions and 3 deletions

View File

@@ -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)