formal to informal messages
This commit is contained in:
@ -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();
|
||||||
|
@ -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();
|
||||||
|
@ -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();
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user