This commit is contained in:
Dobromir Popov
2024-04-06 12:20:34 +03:00
parent aa4e607866
commit fdbf2642cc
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ export default async function handler(req, res) {
const shiftStr = `${CON.weekdaysBG[assignment.shift.startTime.getDay()]} ${CON.GetDateFormat(assignment.shift.startTime)} at ${assignment.shift.cartEvent.location.name} from ${CON.GetTimeFormat(assignment.shift.startTime)} to ${CON.GetTimeFormat(assignment.shift.endTime)}`;
const allNewPubNames = newAssignment.shift.assignments.map(a => a.publisher.firstName + " " + a.publisher.lastName + "\t\t" + a.publisher.phone + ).join("</br>");
const allNewPubNames = newAssignment.shift.assignments.map(a => a.publisher.firstName + " " + a.publisher.lastName + "\t\t" + a.publisher.phone + "").join("</br>");
let model = {
user: publisher,

View File

@ -5,7 +5,7 @@
<p>Здравейте {{firstName}}, </p>
<p>{{firstName}} {{lastName}} ще замести {{oldPubName}} на смяната ви на {{dateStr}}</p>
<p>Новаия списък с участници за тази смяна е:</p>
{{{newPubNames}}}
<p>{{{newPubNames}}}</p>
<div>
</div>
</section>