Merge branch 'master' of https://gitea.verdnatura.es/verdnatura/salix-front into test
This commit is contained in:
commit
2e4fccf8cb
|
@ -107,7 +107,7 @@ const setParams = (params) => {
|
||||||
|
|
||||||
const getPreview = async () => {
|
const getPreview = async () => {
|
||||||
const params = {
|
const params = {
|
||||||
recipientId: entityId,
|
recipientId: entityId.value,
|
||||||
};
|
};
|
||||||
const validationMessage = validateMessage();
|
const validationMessage = validateMessage();
|
||||||
if (validationMessage) return notify(t(validationMessage), 'negative');
|
if (validationMessage) return notify(t(validationMessage), 'negative');
|
||||||
|
|
|
@ -381,7 +381,7 @@ const isUnsatisfied = async (reason) => {
|
||||||
|
|
||||||
const resendEmail = async () => {
|
const resendEmail = async () => {
|
||||||
const params = {
|
const params = {
|
||||||
recipient: worker.value?.user?.email,
|
recipient: worker.value[0]?.user?.emailUser?.email,
|
||||||
week: selectedWeekNumber.value,
|
week: selectedWeekNumber.value,
|
||||||
year: selectedDate.value.getFullYear(),
|
year: selectedDate.value.getFullYear(),
|
||||||
workerId: Number(route.params.id),
|
workerId: Number(route.params.id),
|
||||||
|
|
Loading…
Reference in New Issue