fix(ticketDescriptorMenu): refs #6303 remove console.log modify clientLang
This commit is contained in:
parent
8904893528
commit
065d2307f8
|
@ -64,7 +64,6 @@ async function sendDeliveryNote({ address, type, documentType }) {
|
||||||
|
|
||||||
const shipped = toDate(ticket.value.shipped);
|
const shipped = toDate(ticket.value.shipped);
|
||||||
function showSmsDialog(template, customData) {
|
function showSmsDialog(template, customData) {
|
||||||
console.log('Entra');
|
|
||||||
const address = ticket.value.address;
|
const address = ticket.value.address;
|
||||||
const client = ticket.value.client;
|
const client = ticket.value.client;
|
||||||
const phone =
|
const phone =
|
||||||
|
@ -88,7 +87,7 @@ function showSmsDialog(template, customData) {
|
||||||
componentProps: {
|
componentProps: {
|
||||||
phone: phone,
|
phone: phone,
|
||||||
template: template,
|
template: template,
|
||||||
locale: client.user ? client.user.lang : 'default_locale',
|
locale: client?.user?.lang ?? 'default_locale',
|
||||||
data: data,
|
data: data,
|
||||||
promise: sendSms,
|
promise: sendSms,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue