alsmanager_lib 2.0.20 → 2.0.21
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.
- package/lib/modules.js +36 -0
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -9267,6 +9267,41 @@ function createConsegnaBckDoc(consegna_obj, scuola_obj, listaDispositivi) {
|
|
|
9267
9267
|
return dd;
|
|
9268
9268
|
}
|
|
9269
9269
|
|
|
9270
|
+
function createIstruzioniStandard(user,pwd,email) {
|
|
9271
|
+
var dd = {
|
|
9272
|
+
content: [
|
|
9273
|
+
{
|
|
9274
|
+
text: 'Istruzioni di accesso\n ',
|
|
9275
|
+
style: 'header',
|
|
9276
|
+
bold: true
|
|
9277
|
+
},
|
|
9278
|
+
{
|
|
9279
|
+
text: 'Selezionare ' + user + '. Password : ' + pwd + '\n',
|
|
9280
|
+
style: 'header',
|
|
9281
|
+
bold: false
|
|
9282
|
+
},
|
|
9283
|
+
{
|
|
9284
|
+
text: '\n\nPer qualsiasi problema o richiesta di chiarimenti sull\' utilizzo del dispositivo, scrivere a : ',
|
|
9285
|
+
style: 'header',
|
|
9286
|
+
bold: false
|
|
9287
|
+
},
|
|
9288
|
+
{
|
|
9289
|
+
text: email,
|
|
9290
|
+
style: 'header',
|
|
9291
|
+
bold: true
|
|
9292
|
+
},
|
|
9293
|
+
],
|
|
9294
|
+
styles: {
|
|
9295
|
+
header: {
|
|
9296
|
+
fontSize: 16,
|
|
9297
|
+
bold: true,
|
|
9298
|
+
alignment: 'justify'
|
|
9299
|
+
}
|
|
9300
|
+
},
|
|
9301
|
+
}
|
|
9302
|
+
return dd;
|
|
9303
|
+
}
|
|
9304
|
+
|
|
9270
9305
|
// Export DB
|
|
9271
9306
|
|
|
9272
9307
|
function exportDBSQLSQLite(db_path, dump_path, dump_filename) {
|
|
@@ -9589,6 +9624,7 @@ module.exports = {
|
|
|
9589
9624
|
getPackageJsVersion,
|
|
9590
9625
|
createConsegnaDoc,
|
|
9591
9626
|
createConsegnaBckDoc,
|
|
9627
|
+
createIstruzioniStandard,
|
|
9592
9628
|
exportDBSQL
|
|
9593
9629
|
};
|
|
9594
9630
|
// end of source
|