Mostrare il Bene, Servizio, solo ai Propri Gruppi.

Nella pagina profilo, i "Gruppi" personali non si vedevano !
This commit is contained in:
Paolo Arena
2022-06-16 20:34:17 +02:00
parent bb2604d430
commit f1c89483ff
62 changed files with 1249 additions and 431 deletions

View File

@@ -189,7 +189,7 @@ export const colmybot = [
name: 'visibility',
label_trans: 'bot.visibility',
fieldtype: costanti.FieldType.binary,
jointable: 'visibility'
jointable: 'visibility',
}),
AddCol({ name: 'date_updated', label_trans: 'bot.date_updated', fieldtype: costanti.FieldType.date }),
AddCol(DeleteRec),
@@ -659,6 +659,14 @@ export const colmyGoods = [
remote_field: 'comune',
required: true,
}),
AddCol({
name: 'pub_to_share',
label_trans: 'skill.pub_to_share',
fieldtype: costanti.FieldType.select,
jointable: 'pub_to_share',
icon: 'fas fa-users',
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
}),
AddCol({
name: 'adType',
label_trans: 'adTypes.name',
@@ -828,6 +836,14 @@ export const colmySkills = [
remote_field: 'comune',
required: true,
}),
AddCol({
name: 'pub_to_share',
label_trans: 'skill.pub_to_share',
fieldtype: costanti.FieldType.select,
jointable: 'pub_to_share',
icon: 'fas fa-users',
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
}),
AddCol({
name: 'adType',
label_trans: 'adTypes.name',
@@ -1030,6 +1046,14 @@ export const colmyHosp = [
sortable: false,
required: true,
}),
AddCol({
name: 'pub_to_share',
label_trans: 'skill.pub_to_share',
fieldtype: costanti.FieldType.select,
jointable: 'pub_to_share',
icon: 'fas fa-users',
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
}),
AddCol({
name: 'idContribType',
label_trans: 'contribtype.name',
@@ -1131,6 +1155,13 @@ export const colmyBachecas = [
sortable: false,
required: true,
}),
AddCol({
name: 'pub_to_share',
label_trans: 'skill.pub_to_share',
fieldtype: costanti.FieldType.select,
icon: 'fas fa-users',
jointable: 'pub_to_share',
}),
AddCol(
{
name: 'dateTimeStart',
@@ -1896,6 +1927,7 @@ export const colTableUsers = [
name: 'profile.myshares',
field: 'profile',
subfield: 'myshares',
icon: 'fas fa-users',
label_trans: 'reg.myshares',
}),
AddCol({
@@ -2323,6 +2355,7 @@ export const colTableSubCashCategory = [
]
export const colTableCircuit = [
AddCol({ name: 'Num', label_trans: 'circuit.num', fieldtype: costanti.FieldType.number }),
AddCol({ name: 'name', label_trans: 'circuit.name' }),
AddCol({ name: 'subname', label_trans: 'circuit.subname' }),
AddCol({ name: 'descr', label_trans: 'circuit.descr' }),
@@ -2705,6 +2738,15 @@ export const fieldsTable = {
colicon: 'icon',
noshow: true,
},
{
value: 'pub_to_share',
label: 'Visibilità',
columns: colTablePermission,
colkey: 'value',
collabel: 'label',
colicon: 'icon',
noshow: true,
},
{
value: 'visibilGroup',
label: 'Visibilità',