alsmanager_lib 3.0.126 → 3.0.127

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/modules.js +5 -2
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -7052,7 +7052,7 @@ function createPreparazioneMessage(nominativo, nome_alunno, is_home, email, rif_
7052
7052
  var msgObj = {};
7053
7053
  msgObj.email_to = email;
7054
7054
  msgObj.subject = rif_consegna;
7055
- msgObj.message = "Gentile/Egregio ins." + nominativo;
7055
+ msgObj.message = "Buongiorno " + nominativo;
7056
7056
  if (nome_alunno && nome_alunno.trim() != '' && nome_alunno.length > 5) {
7057
7057
  msgObj.message += " (nome alunno/a : " + nome_alunno + ")";
7058
7058
  }
@@ -7062,7 +7062,10 @@ function createPreparazioneMessage(nominativo, nome_alunno, is_home, email, rif_
7062
7062
  msgObj.message += "n. " + element.Numero + " - " + element.Tipo + " - " + element.Marca + " - " + element.Modello + " - Cod. " + element.Codice + "\n";
7063
7063
  });
7064
7064
  if (is_home && is_home == 1) {
7065
- msgObj.message += "\nSi richiede il ritiro dei beni da parte di un genitore con firma del modulo di coonsegna";
7065
+ msgObj.message += "\nSi richiede il ritiro dei beni da parte di un genitore con firma del modulo di consegna.";
7066
+ }
7067
+ else {
7068
+ msgObj.message += "\nE' possibile il ritiro presso l'Ufficio Tecnico, con firma del modulo di consegna.";
7066
7069
  }
7067
7070
  msgObj.message += "\n\nCordiali saluti\n\nI tecnici dell'I.C. Trento 3";
7068
7071
  return msgObj;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "3.0.126",
7
+ "version": "3.0.127",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",