fix export to word
This commit is contained in:
@ -336,8 +336,11 @@ nextApp
|
||||
placeOfEvent: shift.cartEvent.location.name,
|
||||
time: time,
|
||||
//bold the text after - in the notes
|
||||
notes: shift.notes.substring(0, shift.notes.indexOf("-") + 1),
|
||||
notes_bold: shift.notes.substring(shift.notes.indexOf("-") + 1),
|
||||
//notes: shift.notes.substring(0, shift.notes.indexOf("-") + 1),
|
||||
//notes_bold: shift.notes.substring(shift.notes.indexOf("-") + 1),
|
||||
notes: shift.assignments.some(a => a.isWithTransport) ? "Транспорт: " : "",
|
||||
notes_bold: shift.assignments.filter(a => a.isWithTransport).map(a => common.getInitials(a.publisher.firstName + " " + a.publisher.lastName)).join(", "),
|
||||
|
||||
names: shift.assignments
|
||||
.map((assignment) => {
|
||||
return (
|
||||
|
Reference in New Issue
Block a user