This commit is contained in:
David Arranz 2021-04-28 12:40:32 +02:00
parent 70d592c1f5
commit b861c6dc03
2 changed files with 1 additions and 3 deletions

View File

@ -276,8 +276,6 @@ const extraMethods = {
data.push([college, code, name, surname, email, valid]);
}
//var nameFile = inscriptions[0].event.name.substr(0, 20);
var buffer = xlsx.build([{
name: inscriptions[0].event.name.substr(0,31),
data: data

View File

@ -181,7 +181,7 @@ const extraMethods = {
});
var buffer = xlsx.build([{
name: reservations[0].Event.name,
name: reservations[0].Event.name.substr(0, 31),
data: data,
}], {
'!cols': [{ wch: 15 }, { wch: 25 }, { wch: 30 }, { wch: 10 }, { wch: 20 }, { wch: 20 }, { wch: 5 }]