Home Page With Element ! (Modular)
Arcadei Project... Inscription
This commit is contained in:
@@ -123,6 +123,40 @@ export const colgallery = [
|
||||
AddCol(DuplicateRec),
|
||||
]
|
||||
|
||||
export const colmyelems = [
|
||||
AddCol({ name: 'active', label_trans: 'myelems.active', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'title', label_trans: 'myelems.title' }),
|
||||
AddCol({ name: 'order', label_trans: 'myelems.order', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'type', label_trans: 'myelems.type', fieldtype: costanti.FieldType.select, jointable: 'elemtypes' }),
|
||||
AddCol({ name: 'container', label_trans: 'myelems.container' }),
|
||||
AddCol({ name: 'container2', label_trans: 'myelems.container2' }),
|
||||
AddCol({ name: 'container3', label_trans: 'myelems.container3' }),
|
||||
AddCol({ name: 'number', label_trans: 'myelems.number', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'imgback', label_trans: 'myelems.imgback' }),
|
||||
AddCol({ name: 'size', label_trans: 'myelems.size' }),
|
||||
AddCol({ name: 'ratio', label_trans: 'myelems.ratio' }),
|
||||
AddCol({ name: 'containerHtml', label_trans: 'myelems.containerHtml', fieldtype: costanti.FieldType.html }),
|
||||
AddCol({ name: 'height', label_trans: 'myelems.height', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'heightimg', label_trans: 'myelems.heightimg', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'widthimg', label_trans: 'pages.widthimg', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'link', label_trans: 'pages.link', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'width', label_trans: 'myelems.width', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'onlyif_logged', label_trans: 'myelems.onlyif_logged', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'color', label_trans: 'myelems.color' }),
|
||||
AddCol({ name: 'class', label_trans: 'myelems.class' }),
|
||||
AddCol({ name: 'styleadd', label_trans: 'myelems.styleadd' }),
|
||||
AddCol({
|
||||
name: 'list',
|
||||
label_trans: 'gallery.list',
|
||||
fieldtype: costanti.FieldType.listimages,
|
||||
jointable: '',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView,
|
||||
isInModif: true,
|
||||
}),
|
||||
AddCol(DeleteRec),
|
||||
AddCol(DuplicateRec),
|
||||
]
|
||||
|
||||
export const colmsg_templates = [
|
||||
AddCol({ name: 'title', label_trans: 'pages.title' }),
|
||||
AddCol({ name: 'typemsg', label_trans: 'TypeMsg', fieldtype: costanti.FieldType.number }),
|
||||
@@ -273,7 +307,7 @@ export const getcolorderscart = [
|
||||
AddCol({ name: 'created_at', label_trans: 'order.created_at', fieldtype: costanti.FieldType.date }),
|
||||
AddCol({ name: 'status', label_trans: 'order.status' }),
|
||||
AddCol({ name: 'items', label_trans: 'order.items' }),
|
||||
AddCol({ name: 'userId', label_trans: 'order.users', fieldtype: costanti.FieldType.select, jointable: 'users', }),
|
||||
AddCol({ name: 'userId', label_trans: 'order.users', fieldtype: costanti.FieldType.select, jointable: 'users' }),
|
||||
AddCol({ name: 'note', label_trans: 'order.note' }),
|
||||
AddCol(DeleteRec),
|
||||
AddCol(DuplicateRec),
|
||||
@@ -795,7 +829,7 @@ export const colmyGoods = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
noshowlabel: true,
|
||||
icon: 'fas fa-hand-holding',
|
||||
//icon: 'fas fa-hands-helping',
|
||||
// icon: 'fas fa-hands-helping',
|
||||
// isadvanced_field: true,
|
||||
}),
|
||||
AddCol({
|
||||
@@ -806,7 +840,7 @@ export const colmyGoods = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
noshowlabel: true,
|
||||
icon: 'fas fa-shipping-fast',
|
||||
//icon: 'fas fa-hands-helping',
|
||||
// icon: 'fas fa-hands-helping',
|
||||
// isadvanced_field: true,
|
||||
}),
|
||||
AddCol({
|
||||
@@ -817,7 +851,7 @@ export const colmyGoods = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
noshowlabel: true,
|
||||
icon: 'fas fa-filter',
|
||||
//icon: 'fas fa-hands-helping',
|
||||
// icon: 'fas fa-hands-helping',
|
||||
// isadvanced_field: true,
|
||||
}),
|
||||
AddCol({
|
||||
@@ -860,7 +894,7 @@ export const colmyGoods = [
|
||||
|
||||
*/
|
||||
|
||||
//**ADDFIELD_MYSKILL
|
||||
// **ADDFIELD_MYSKILL
|
||||
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
|
||||
@@ -973,7 +1007,7 @@ export const colmySkills = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
noshowlabel: true,
|
||||
icon: 'fas fa-hand-holding',
|
||||
//icon: 'fas fa-hands-helping',
|
||||
// icon: 'fas fa-hands-helping',
|
||||
// isadvanced_field: true,
|
||||
}),
|
||||
AddCol({
|
||||
@@ -1029,7 +1063,7 @@ export const colmySkills = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView,
|
||||
isadvanced_field: true,
|
||||
}),
|
||||
//**ADDFIELD_MYSKILL
|
||||
// **ADDFIELD_MYSKILL
|
||||
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
|
||||
@@ -1097,7 +1131,7 @@ export const colmyHosp = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
noshowlabel: true,
|
||||
icon: 'fas fa-asterisk',
|
||||
//icon: 'fas fa-hands-helping',
|
||||
// icon: 'fas fa-hands-helping',
|
||||
isadvanced_field: false,
|
||||
sortable: false,
|
||||
}),
|
||||
@@ -1133,7 +1167,7 @@ export const colmyHosp = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
noshowlabel: true,
|
||||
icon: 'fas fa-hand-holding',
|
||||
//icon: 'fas fa-hands-helping',
|
||||
// icon: 'fas fa-hands-helping',
|
||||
isadvanced_field: false,
|
||||
sortable: false,
|
||||
}),
|
||||
@@ -1165,7 +1199,7 @@ export const colmyHosp = [
|
||||
isadvanced_field: true,
|
||||
sortable: false,
|
||||
}),
|
||||
//**ADDFIELD_MYBACHECAS
|
||||
// **ADDFIELD_MYBACHECAS
|
||||
AddCol({
|
||||
name: 'link_maplocation', label_trans: 'reg.link_maplocation', isadvanced_field: true, fieldtype: costanti.FieldType.link,
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
@@ -1308,7 +1342,7 @@ export const colmyBachecas = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
noshowlabel: true,
|
||||
icon: 'fas fa-hand-holding',
|
||||
//icon: 'fas fa-hands-helping',
|
||||
// icon: 'fas fa-hands-helping',
|
||||
isadvanced_field: false,
|
||||
sortable: false,
|
||||
}),
|
||||
@@ -1337,7 +1371,7 @@ export const colmyBachecas = [
|
||||
isadvanced_field: true,
|
||||
sortable: false,
|
||||
}),
|
||||
//**ADDFIELD_MYBACHECAS
|
||||
// **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,
|
||||
@@ -1459,6 +1493,54 @@ export const colTableIscrittiConacreis = [
|
||||
AddCol(DuplicateRec),
|
||||
]
|
||||
|
||||
export const colTableIscrittiArcadei = [
|
||||
AddCol({ name: 'annoTesseramento', label_trans: 'reg.annoTesseramento', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'numTesseraInterna', label_trans: 'reg.numTesseraInterna', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({
|
||||
name: 'metodo_pagamento',
|
||||
label_trans: 'reg.metodo_pagamento',
|
||||
fieldtype: costanti.FieldType.select,
|
||||
jointable: 'metodo_pagamento',
|
||||
}),
|
||||
AddCol({ name: 'ha_pagato', label_trans: 'reg.ha_pagato', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'name', label_trans: 'reg.name', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'surname', label_trans: 'reg.surname', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'dateofreg', label_trans: 'reg.dateofreg', fieldtype: costanti.FieldType.onlydate }),
|
||||
AddCol({ name: 'dateofapproved', label_trans: 'reg.dateofapproved', fieldtype: costanti.FieldType.onlydate }),
|
||||
AddCol({ name: 'email', label_trans: 'reg.email', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'email2', label_trans: 'reg.email2', fieldtype: costanti.FieldType.string }),
|
||||
// AddCol({ name: 'fiscalcode', label_trans: 'reg.fiscalcode', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'residency_address', label_trans: 'reg.residency_address', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'residency_city', label_trans: 'reg.residency_city', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'residency_province', label_trans: 'reg.residency_province', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'residency_country', label_trans: 'reg.residency_country', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'residency_zipcode', label_trans: 'reg.residency_zipcode', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'dateofbirth', label_trans: 'reg.dateofbirth', fieldtype: costanti.FieldType.onlydate }),
|
||||
AddCol({ name: 'born_city', label_trans: 'reg.born_city', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'born_province', label_trans: 'reg.born_province', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'born_country', label_trans: 'reg.born_country', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'cell_phone', label_trans: 'reg.cell_phone', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'cell_phone2', label_trans: 'reg.cell_phone2', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'doctype', label_trans: 'reg.doctype', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'documentnumber', label_trans: 'reg.documentnumber', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'quota_versata', label_trans: 'reg.quota_versata', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'categorie_interesse', label_trans: 'reg.categorie_interesse', fieldtype: costanti.FieldType.multiselect, jointable: 'cat_interesse_arcadei', }),
|
||||
AddCol({ name: 'altre_comunicazioni', label_trans: 'reg.altre_comunicazioni', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({
|
||||
name: 'come_ci_hai_conosciuto',
|
||||
label_trans: 'reg.come_ci_hai_conosciuto',
|
||||
fieldtype: costanti.FieldType.string,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'iscrizione_compilata',
|
||||
label_trans: 'reg.iscrizione_compilata',
|
||||
fieldtype: costanti.FieldType.boolean
|
||||
}),
|
||||
AddCol({ name: 'note', label_trans: 'reg.note', fieldtype: costanti.FieldType.string }),
|
||||
AddCol(DeleteRec),
|
||||
AddCol(DuplicateRec),
|
||||
]
|
||||
|
||||
export const colTableProducts = [
|
||||
AddCol({ name: 'active', label_trans: 'products.active', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'code', label_trans: 'products.code' }),
|
||||
@@ -2131,8 +2213,8 @@ export const colTableUsersCNM = [
|
||||
label_trans: 'reg.consiglio',
|
||||
fieldtype: costanti.FieldType.boolean,
|
||||
}),
|
||||
AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni', }),
|
||||
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia', }),
|
||||
AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni' }),
|
||||
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia' }),
|
||||
AddCol({
|
||||
name: 'profile.competenze_professionalita',
|
||||
field: 'profile',
|
||||
@@ -2355,8 +2437,8 @@ export const colTableUsersISP = [
|
||||
fieldtype: costanti.FieldType.boolean,
|
||||
}),
|
||||
// AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni', }),
|
||||
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia', }),
|
||||
AddCol({ name: 'profile.qualifica', field: 'profile', subfield: 'qualifica', label_trans: 'reg.qualifica', }),
|
||||
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia' }),
|
||||
AddCol({ name: 'profile.qualifica', field: 'profile', subfield: 'qualifica', label_trans: 'reg.qualifica' }),
|
||||
AddCol({
|
||||
name: 'profile.paymenttypes',
|
||||
field: 'profile',
|
||||
@@ -2476,7 +2558,7 @@ export const colTableCircuitComplete = [
|
||||
}),
|
||||
AddCol({ name: 'regulation', label_trans: 'circuit.regulation', fieldtype: costanti.FieldType.html }),
|
||||
AddCol({ name: 'systemUserDescr', label_trans: 'circuit.systemUserDescr' }),
|
||||
AddCol({ name: 'systemUserId', label_trans: 'circuit.systemUserId', fieldtype: costanti.FieldType.select, jointable: 'users', }),
|
||||
AddCol({ name: 'systemUserId', label_trans: 'circuit.systemUserId', fieldtype: costanti.FieldType.select, jointable: 'users' }),
|
||||
AddCol({ name: 'createdBy', label_trans: 'circuit.founder', fieldtype: costanti.FieldType.select, jointable: 'users',
|
||||
showWhen: costanti.showWhen.InPage + costanti.showWhen.InView,
|
||||
}),
|
||||
@@ -2629,7 +2711,7 @@ export const colTableCircuit = [
|
||||
|
||||
export const colmyUserCircuit = [
|
||||
AddCol({ name: 'circuitId', label_trans: 'account.circuitId', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'userId', label_trans: 'account.users', fieldtype: costanti.FieldType.select, jointable: 'users', }),
|
||||
AddCol({ name: 'userId', label_trans: 'account.users', fieldtype: costanti.FieldType.select, jointable: 'users' }),
|
||||
AddCol({ name: 'name', label_trans: 'circuit.name' }),
|
||||
AddCol({ name: 'deperibile', label_trans: 'account.deperibile', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'fidoConcesso', label_trans: 'account.fidoConcesso', fieldtype: costanti.FieldType.number }),
|
||||
@@ -2932,6 +3014,13 @@ export const fieldsTable = {
|
||||
colkey: '_id',
|
||||
collabel: 'title',
|
||||
},
|
||||
{
|
||||
value: 'myelems',
|
||||
label: 'Elementi',
|
||||
columns: colmyelems,
|
||||
colkey: '_id',
|
||||
collabel: 'title',
|
||||
},
|
||||
{
|
||||
value: 'templemail',
|
||||
label: 'Template Email',
|
||||
@@ -3000,6 +3089,15 @@ export const fieldsTable = {
|
||||
colicon: 'icon',
|
||||
noshow: true,
|
||||
},
|
||||
{
|
||||
value: 'elemtypes',
|
||||
label: 'Tipi di Elementi',
|
||||
columns: colTableGeneric,
|
||||
colkey: 'value',
|
||||
collabel: 'label',
|
||||
colicon: 'icon',
|
||||
noshow: true,
|
||||
},
|
||||
{
|
||||
value: 'confsite_opt',
|
||||
label: 'Configura Opzioni Sito',
|
||||
@@ -3052,6 +3150,14 @@ export const fieldsTable = {
|
||||
collabel: 'label',
|
||||
noshow: true,
|
||||
},
|
||||
{
|
||||
value: 'cat_interesse_arcadei',
|
||||
label: 'Categorie d\'Interesse Arcadei',
|
||||
columns: colTableGeneric,
|
||||
colkey: 'value',
|
||||
collabel: 'label',
|
||||
noshow: true,
|
||||
},
|
||||
{
|
||||
value: 'lang',
|
||||
label: 'Lingua',
|
||||
|
||||
Reference in New Issue
Block a user