formal to informal messages

This commit is contained in:
Dobromir Popov
2024-04-06 22:55:24 +03:00
parent 1e9b7088d9
commit 1ef13e69f7
4 changed files with 4 additions and 4 deletions

View File

@ -102,7 +102,7 @@ export default function ExperienceForm({ publisherId, assgnmentId, existingItem,
try { try {
const response = await axiosInstance.post('/api/data/reports', item); const response = await axiosInstance.post('/api/data/reports', item);
console.log(response); console.log(response);
toast.success("Случката е записана. Благодарим Ви!"); toast.success("Случката е записана. Благодаря!");
setTimeout(() => { setTimeout(() => {
if (onDone) { if (onDone) {
onDone(); onDone();

View File

@ -78,7 +78,7 @@ export default function FeedbackForm({ publisherId, onDone }) {
try { try {
const response = await axiosInstance.post('/api/data/reports', item); const response = await axiosInstance.post('/api/data/reports', item);
console.log(response); console.log(response);
toast.success("Благодарим Ви за вашия отзив!"); toast.success("Благодаря за отзива!");
setTimeout(() => { setTimeout(() => {
if (onDone) { if (onDone) {
onDone(); onDone();

View File

@ -101,7 +101,7 @@ export default function ReportForm({ shiftId, existingItem, onDone }) {
try { try {
const response = await axiosInstance.post('/api/data/reports', item); const response = await axiosInstance.post('/api/data/reports', item);
console.log(response); console.log(response);
toast.success("Гоово. Благодарим Ви за отчета!"); toast.success("Гоово. Благодаря за отчета!");
setTimeout(() => { setTimeout(() => {
if (onDone) { if (onDone) {
onDone(); onDone();

View File

@ -153,7 +153,7 @@ export default async function handler(req, res) {
emailHelper.SendEmailHandlebars(to, "coverMeAccepted", model); emailHelper.SendEmailHandlebars(to, "coverMeAccepted", model);
const messagePageUrl = `/message?message=${encodeURIComponent('Вашата заявка за замстване е обработена успешно')}&type=info&caption=${encodeURIComponent('Благодарим ви!')}`; const messagePageUrl = `/message?message=${encodeURIComponent('Вашата заявка за замстване е обработена успешно')}&type=info&caption=${encodeURIComponent('Благодаря!')}`;
res.redirect(messagePageUrl); res.redirect(messagePageUrl);
break; break;