diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-02-16 16:51:43 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-02-16 16:51:43 +0700 |
| commit | a400a6b71bdd0ec77c9a053088c0024a2aadfaff (patch) | |
| tree | 6210778d25110d2d511f212625d42f3a90b6b56a | |
| parent | dc44e019784e18f34bb84a86640793efd3daca17 (diff) | |
add operator and name in wait leads
| -rw-r--r-- | indoteknik_custom/models/wati.py | 2 |
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 |
