Substitute org name and balance tokens in outbound SMS so templates no longer leave {از طرف} literal.

EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-14 17:12:31 +03:30
co-authored by Cursor
parent f36fddc23b
commit 717a41e94b
12 changed files with 666 additions and 200 deletions
+1 -1
View File
@@ -1179,7 +1179,7 @@ onBeforeUnmount(() => narrowMq?.removeEventListener('change', syncNarrow));
:name="lead.contactName || lead.title"
:phone="lead.mobile || lead.phone || ''"
:record-title="lead.title"
:company="lead.contactName ? lead.title : ''"
:company="lead.trade ?? ''"
@close="smsOpen = false"
/>
</template>
+1 -1
View File
@@ -1205,7 +1205,7 @@ watch(() => route.query.tab, readTab, { immediate: true });
:history-endpoint="`/people/${id}/sms-history`"
:name="fullName"
:phone="phoneNumber"
:record-title="fullName"
:record-title="person.position?.trim() || ''"
:company="person.company?.name ?? ''"
@close="smsOpen = false"
/>