Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node_crisp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
web
node_crisp
Commits
b5e03f5e
Commit
b5e03f5e
authored
Sep 01, 2021
by
Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edita texto de condiciones del servicio e iniciar consulta
parent
d504ddc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ips_turnos_bajo_demanda.js
handlers/ips_turnos_bajo_demanda.js
+3
-3
No files found.
handlers/ips_turnos_bajo_demanda.js
View file @
b5e03f5e
...
...
@@ -46,7 +46,7 @@ module.exports =
},
ask_acepta_condiciones
:
async
function
(
message
,
userData
,
website_id
,
session_id
)
{
await
crisp
.
setSiguientePaso
(
website_id
,
session_id
,
pasos
.
RESP_ACEPTA_CONDICIONES
,
userData
);
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`
C
ondiciones del servicio:
${
LINK_CONDICIONES_DE_USO
}
`
);
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`
Para continuar, debes aceptar las\n c
ondiciones del servicio:
${
LINK_CONDICIONES_DE_USO
}
`
);
let
choices
=
[];
choices
.
push
(
utils
.
armarChoice
(
SI
,
SI
));
choices
.
push
(
utils
.
armarChoice
(
NO
,
NO
));
...
...
@@ -131,8 +131,8 @@ module.exports =
}
else
{
//Turno reservado exitosamente
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`Hacé click
al siguiente link
para iniciar tu consulta`
);
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`
${
turnoDemandaResp
.
link_vc
}
`
);
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`Hacé click
sobre "Iniciar consulta"
para iniciar tu consulta`
);
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`
[Iniciar consulta](
${
turnoDemandaResp
.
link_vc
}
)
`
);
await
limpiarDatos
(
message
,
userData
,
website_id
,
session_id
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment