- Creazione di un Nuovo Catalogo (e la sua relativa pagina), a partire da un modello ed un catalogo esistente.

- Aggiunta dei bottoni sul Ccatalogocard
This commit is contained in:
Surya Paolo
2025-06-12 23:49:13 +02:00
parent 2dac04fb16
commit 286cc4e3a7
23 changed files with 286736 additions and 1889 deletions

View File

@@ -8978,6 +8978,9 @@ export const tools = {
} else if (table === toolsext.TABMYHOSPS) {
nome = rec ? rec.descr : '';
str = 'l\'Ospitalità "' + nome + '"';
} else if (table === toolsext.TABCATALOGS) {
nome = rec ? rec.title : '';
str = 'il Catalogo "' + nome + '"';
}
if (!str) {
@@ -10694,6 +10697,16 @@ export const tools = {
return this.removeFileExtension(filename) + `_compressed.pdf`;
},
convertTitleToFileName(title: string): string {
return title
.replace(/ /g, '_')
.normalize('NFD')
.replace(/[\u0300-\u036f]/g, '')
.replace(/[^a-zA-Z0-9_]/g, '')
}
// FINE !
// getLocale() {