summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-02-16 16:51:43 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-02-16 16:51:43 +0700
commita400a6b71bdd0ec77c9a053088c0024a2aadfaff (patch)
tree6210778d25110d2d511f212625d42f3a90b6b56a
parentdc44e019784e18f34bb84a86640793efd3daca17 (diff)
add operator and name in wait leads
-rw-r--r--indoteknik_custom/models/wati.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/wati.py b/indoteknik_custom/models/wati.py
index 37c97f59..fbe350a5 100644
--- a/indoteknik_custom/models/wati.py
+++ b/indoteknik_custom/models/wati.py
@@ -29,6 +29,8 @@ class WatiNotification(models.Model):
if current_lead:
# must append internal notes as a reply here
current_lead.description = str(current_lead.description) + "|" +str(text)
+ current_lead.operator_email = operator_email
+ current_lead.operator_name = operator_name
wati.is_lead = True
else:
# create new leads