This commit is contained in:
Surya Paolo
2024-11-02 19:25:47 +01:00
parent 1c63b5346b
commit a46b988440
10 changed files with 192 additions and 7184956 deletions

View File

@@ -1914,6 +1914,11 @@ export const colmyBachecas = [
label_trans: 'event.contact_telegram',
fieldtype: costanti.FieldType.string,
}),
AddCol({
name: 'website', label_trans: 'reg.website', isadvanced_field: true, fieldtype: costanti.FieldType.link,
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
sortable: false,
}),
AddCol({ name: 'min_partecip', label_trans: 'event.min_partecip', fieldtype: costanti.FieldType.number }),
AddCol({ name: 'max_partecip', label_trans: 'event.max_partecip', fieldtype: costanti.FieldType.number }),
AddCol({
@@ -1945,11 +1950,6 @@ export const colmyBachecas = [
showWhen: 0
}),
// **ADDFIELD_MYBACHECAS
AddCol({
name: 'website', label_trans: 'reg.website', isadvanced_field: true, fieldtype: costanti.FieldType.link,
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
sortable: false,
}),
AddCol(DuplicateRec),
AddCol(ModifRec),
AddCol(DeleteRec),

View File

@@ -4739,6 +4739,16 @@ export const tools = {
},
getlinkEmailTo(myemail: string) {
if (myemail) {
return `<a href="mailto:${myemail}" >${myemail}</a>`
} else {
return ''
}
},
getNationsByNationality(nat: string) {
if (!nat)
return ''