- Statistiche
- Menu e Sottomenu - Lista ultimi Movimenti
This commit is contained in:
@@ -69,7 +69,7 @@ function AddCol(params: IColGridTable) {
|
||||
allowNewValue: (params.allowNewValue === undefined) ? false : params.allowNewValue,
|
||||
showpicprofile_ifnotset: (params.showpicprofile_ifnotset === undefined) ? false : params.showpicprofile_ifnotset,
|
||||
extrafield: (params.extrafield === undefined) ? '' : params.extrafield,
|
||||
tipoconto: (params.tipoconto === undefined) ? costanti.AccountType.USER : params.tipoconto,
|
||||
tipoconto: (params.tipoconto === undefined) ? shared_consts.AccountType.USER : params.tipoconto,
|
||||
visible: (params.visible === undefined) ? true : params.visible,
|
||||
icon: (params.icon === undefined) ? '' : params.icon,
|
||||
action: (params.action === undefined) ? '' : params.action,
|
||||
@@ -144,6 +144,7 @@ export const colmylistcards = [
|
||||
AddCol({ name: 'color', label_trans: 'color' }),
|
||||
AddCol({ name: 'content', label_trans: 'content' }),
|
||||
AddCol({ name: 'colorsub', label_trans: 'colorsub' }),
|
||||
AddCol({ name: 'link', label_trans: 'link' }),
|
||||
]
|
||||
|
||||
export const colmyelems = [
|
||||
@@ -220,9 +221,15 @@ export const colmypage = [
|
||||
AddCol({ name: 'order', label_trans: 'pages.order', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'active', label_trans: 'pages.active', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'inmenu', label_trans: 'pages.inmenu', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'infooter', label_trans: 'pages.infooter', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'title', label_trans: 'pages.title' }),
|
||||
AddCol({ name: 'subtitle', label_trans: 'pages.subtitle' }),
|
||||
AddCol({ name: 'mainMenu', label_trans: 'pages.mainMenu', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({
|
||||
name: 'sottoMenu', label_trans: 'pages.sottoMenu',
|
||||
fieldtype: costanti.FieldType.multiselect,
|
||||
jointable: 'mypages',
|
||||
}),
|
||||
AddCol({ name: 'infooter', label_trans: 'pages.infooter', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'img1', label_trans: 'pages.img1' }),
|
||||
AddCol({ name: 'content', label_trans: 'pages.contentfield', fieldtype: costanti.FieldType.html }),
|
||||
AddCol({ name: 'video1', label_trans: 'pages.video1' }),
|
||||
@@ -732,7 +739,7 @@ export const colmyMovement = [
|
||||
link: '/my/userfrom.username',
|
||||
noshowlabel: true,
|
||||
extrafield: 'movement.from',
|
||||
tipoconto: costanti.AccountType.USER,
|
||||
tipoconto: shared_consts.AccountType.USER,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'groupfrom.groupname',
|
||||
@@ -745,7 +752,7 @@ export const colmyMovement = [
|
||||
link: '/grp/groupfrom.groupname',
|
||||
noshowlabel: true,
|
||||
extrafield: 'movement.fromCColl',
|
||||
tipoconto: costanti.AccountType.COLLECTIVE_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COLLECTIVE_ACCOUNT,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contocomfrom.path',
|
||||
@@ -758,7 +765,7 @@ export const colmyMovement = [
|
||||
link: '/circuit/contocomfrom.path',
|
||||
noshowlabel: true,
|
||||
extrafield: 'movement.fromCCom',
|
||||
tipoconto: costanti.AccountType.COMMUNITY_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COMMUNITY_ACCOUNT,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'userto.username',
|
||||
@@ -771,7 +778,7 @@ export const colmyMovement = [
|
||||
link: '/my/userto.username',
|
||||
extrafield: 'movement.to',
|
||||
noshowlabel: true,
|
||||
tipoconto: costanti.AccountType.USER,
|
||||
tipoconto: shared_consts.AccountType.USER,
|
||||
}),
|
||||
|
||||
AddCol({
|
||||
@@ -785,7 +792,7 @@ export const colmyMovement = [
|
||||
link: '/grp/groupto.groupname',
|
||||
extrafield: 'movement.toCColl',
|
||||
noshowlabel: true,
|
||||
tipoconto: costanti.AccountType.COLLECTIVE_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COLLECTIVE_ACCOUNT,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contocomfto.path',
|
||||
@@ -798,7 +805,7 @@ export const colmyMovement = [
|
||||
link: '/circuit/contocomto.path',
|
||||
noshowlabel: true,
|
||||
extrafield: 'movement.toCCom',
|
||||
tipoconto: costanti.AccountType.COMMUNITY_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COMMUNITY_ACCOUNT,
|
||||
}),
|
||||
|
||||
AddCol({
|
||||
@@ -820,7 +827,7 @@ export const colmyMovementTable = [
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/my/userfrom.username',
|
||||
tipoconto: costanti.AccountType.USER,
|
||||
tipoconto: shared_consts.AccountType.USER,
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
@@ -832,7 +839,7 @@ export const colmyMovementTable = [
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/grp/groupfrom.groupname',
|
||||
tipoconto: costanti.AccountType.COLLECTIVE_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COLLECTIVE_ACCOUNT,
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
@@ -844,7 +851,7 @@ export const colmyMovementTable = [
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/circuit/contocomfrom.path',
|
||||
tipoconto: costanti.AccountType.COMMUNITY_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COMMUNITY_ACCOUNT,
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
@@ -856,7 +863,7 @@ export const colmyMovementTable = [
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/my/userto.username',
|
||||
tipoconto: costanti.AccountType.USER,
|
||||
tipoconto: shared_consts.AccountType.USER,
|
||||
required: true,
|
||||
}),
|
||||
|
||||
@@ -869,7 +876,7 @@ export const colmyMovementTable = [
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/grp/groupto.groupname',
|
||||
tipoconto: costanti.AccountType.COLLECTIVE_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COLLECTIVE_ACCOUNT,
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
@@ -881,7 +888,7 @@ export const colmyMovementTable = [
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/circuit/contocomto.path',
|
||||
tipoconto: costanti.AccountType.COMMUNITY_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COMMUNITY_ACCOUNT,
|
||||
required: true,
|
||||
}),
|
||||
|
||||
@@ -2658,8 +2665,8 @@ export const fields = {
|
||||
name: 'type', label_trans: 'col.type', fieldtype: costanti.FieldType.select, jointable: 'fieldstype',
|
||||
}),
|
||||
AddCol({ name: 'value_str', label_trans: 'col.value', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'value_date', label_trans: 'cal.data', fieldtype: costanti.FieldType.date }),
|
||||
AddCol({ name: 'value_num', label_trans: 'cal.num', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'value_date', label_trans: 'cal.data', fieldtype: costanti.FieldType.date }),
|
||||
AddCol({ name: 'value_bool', label_trans: 'cal.bool', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'serv', label_trans: 'cal.serv', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'crypted', label_trans: 'cal.crypted', fieldtype: costanti.FieldType.boolean }),
|
||||
@@ -3682,7 +3689,7 @@ export const colmyUserCircuit = [
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/circuit/contocom',
|
||||
noshowlabel: true,
|
||||
tipoconto: costanti.AccountType.COMMUNITY_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COMMUNITY_ACCOUNT,
|
||||
}),
|
||||
|
||||
AddCol({
|
||||
@@ -3693,7 +3700,7 @@ export const colmyUserCircuit = [
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/circuit/groupname',
|
||||
noshowlabel: true,
|
||||
tipoconto: costanti.AccountType.COLLECTIVE_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COLLECTIVE_ACCOUNT,
|
||||
}),
|
||||
|
||||
AddCol({ name: 'deperibile', label_trans: 'account.deperibile', fieldtype: costanti.FieldType.boolean }),
|
||||
@@ -3726,7 +3733,7 @@ export const colTableNotifCoins = [
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/my/extrarec.dest',
|
||||
noshowlabel: true,
|
||||
tipoconto: costanti.AccountType.USER,
|
||||
tipoconto: shared_consts.AccountType.USER,
|
||||
}),
|
||||
|
||||
AddCol({
|
||||
@@ -3739,7 +3746,7 @@ export const colTableNotifCoins = [
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/grp/extrarec.groupdest',
|
||||
noshowlabel: true,
|
||||
tipoconto: costanti.AccountType.COLLECTIVE_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COLLECTIVE_ACCOUNT,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'extrarec.contoComDest',
|
||||
@@ -3751,7 +3758,7 @@ export const colTableNotifCoins = [
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/circuit/extrarec.contoComDest',
|
||||
noshowlabel: true,
|
||||
tipoconto: costanti.AccountType.COMMUNITY_ACCOUNT,
|
||||
tipoconto: shared_consts.AccountType.COMMUNITY_ACCOUNT,
|
||||
}),
|
||||
AddCol({ name: 'extrarec.qty', field: 'extrarec', subfield: 'qty', label_trans: 'movement.amount', fieldtype: costanti.FieldType.currency }),
|
||||
AddCol({ name: 'extrarec.causal', field: 'extrarec', subfield: 'causal', label_trans: 'movement.causal', tipovisu: costanti.TipoVisu.TESTO_BORDATO }),
|
||||
@@ -3936,6 +3943,13 @@ export const fieldsTable = {
|
||||
colkey: 'path',
|
||||
collabel: 'title',
|
||||
},
|
||||
{
|
||||
value: 'mypages',
|
||||
label: 'Pagine Web',
|
||||
columns: colmypage,
|
||||
colkey: 'path',
|
||||
collabel: 'title',
|
||||
},
|
||||
{
|
||||
value: 'products',
|
||||
label: 'Prodotti',
|
||||
|
||||
Reference in New Issue
Block a user