refs #6303 sms fix #101

Merged
pablone merged 6 commits from 6303-smsDialogFix into dev 2023-10-26 07:32:07 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 065d2307f8 - Show all commits

View File

@ -64,7 +64,6 @@ async function sendDeliveryNote({ address, type, documentType }) {
const shipped = toDate(ticket.value.shipped);
function showSmsDialog(template, customData) {
console.log('Entra');
const address = ticket.value.address;
pablone marked this conversation as resolved Outdated
Outdated
Review

LLeva el log perfa

LLeva el log perfa
const client = ticket.value.client;
const phone =
@ -88,7 +87,7 @@ function showSmsDialog(template, customData) {
componentProps: {
phone: phone,
template: template,
locale: client.user ? client.user.lang : 'default_locale',
locale: client?.user?.lang ?? 'default_locale',
data: data,
pablone marked this conversation as resolved Outdated
Outdated
Review

Aço tambe podries ficar:
locale: client?.user?.lang ?? 'default_locale',

Aço tambe podries ficar: locale: client?.user?.lang ?? 'default_locale',
promise: sendSms,
},