versione 0.3.16:
- Aggiunto bottone "Scambio Ospitalità" (nuova tabella)
This commit is contained in:
@@ -60,7 +60,7 @@ export const costanti = {
|
||||
title: 'Scambio Ospitalità',
|
||||
strsingolo: 'Scambio Ospitalità',
|
||||
to: '/hosps',
|
||||
icon: 'fas fa-taxi',
|
||||
icon: 'fas fa-bed',
|
||||
color: 'lime-6',
|
||||
textcolor: '',
|
||||
hint: '',
|
||||
|
||||
@@ -988,6 +988,18 @@ export const colmyHosp = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView,
|
||||
sortable: false,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'preferences',
|
||||
label_trans: 'hosps.preferences',
|
||||
fieldtype: costanti.FieldType.multiselect,
|
||||
jointable: toolsext.TABPREF,
|
||||
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',
|
||||
isadvanced_field: false,
|
||||
sortable: false,
|
||||
}),
|
||||
|
||||
AddCol({
|
||||
name: 'idCity',
|
||||
@@ -1043,6 +1055,11 @@ export const colmyHosp = [
|
||||
sortable: false,
|
||||
}),
|
||||
//**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,
|
||||
sortable: false,
|
||||
}),
|
||||
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,
|
||||
@@ -2918,6 +2935,15 @@ export const fieldsTable = {
|
||||
colicon: 'icon',
|
||||
noshow: true,
|
||||
},
|
||||
{
|
||||
value: toolsext.TABPREF,
|
||||
label: 'Preferenze',
|
||||
columns: colTableGeneric,
|
||||
colkey: 'value',
|
||||
collabel: 'label',
|
||||
colicon: 'icon',
|
||||
noshow: true,
|
||||
},
|
||||
],
|
||||
|
||||
}
|
||||
|
||||
@@ -88,6 +88,7 @@ export const toolsext = {
|
||||
TABTYPEHOSP: 'typehosps',
|
||||
TABTYPEACCOM: 'typeaccoms',
|
||||
TABLOCACCOM: 'locaccoms',
|
||||
TABPREF: 'hosps_preferences',
|
||||
TABPEOPLE: 'people',
|
||||
SERVKEY_VERS: 'vers',
|
||||
|
||||
|
||||
@@ -1551,6 +1551,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
else if (table === toolsext.TABPEOPLE) myarr = shared_consts.People
|
||||
else if (table === toolsext.TABTYPEACCOM) myarr = shared_consts.TypeAccom
|
||||
else if (table === toolsext.TABLOCACCOM) myarr = shared_consts.LocationAccom
|
||||
else if (table === toolsext.TABPREF) myarr = shared_consts.Preferences
|
||||
else myarr = this.getListByTable(table)
|
||||
|
||||
if (costanti.TABLES_ARRAY.includes(table)) {
|
||||
|
||||
Reference in New Issue
Block a user