- Entri in Circuito Italia solo se hai il fido nel circuito provinciale
- Aggiunta Zona, oltre alla provincia, per visualizzare i vari circuiti della prov
This commit is contained in:
@@ -325,6 +325,11 @@ const colTableWhere = [
|
||||
AddCol({ name: 'whereicon', label_trans: 'where.whereicon' }),
|
||||
AddCol(DeleteRec),
|
||||
]
|
||||
const colTableCard = [
|
||||
AddCol({ name: 'label', label_trans: 'label' }),
|
||||
AddCol({ name: 'card', label_trans: 'card' }),
|
||||
AddCol(DeleteRec),
|
||||
]
|
||||
|
||||
export const colTableProducer = [
|
||||
AddCol({ name: 'name', label_trans: 'producer.name' }),
|
||||
@@ -3944,6 +3949,13 @@ export const fieldsTable = {
|
||||
collabel: 'descr',
|
||||
remote: true,
|
||||
},
|
||||
{
|
||||
value: 'cards',
|
||||
label: 'Zone',
|
||||
columns: colTableCard,
|
||||
colkey: 'card',
|
||||
collabel: 'label',
|
||||
},
|
||||
{
|
||||
value: 'countries',
|
||||
label: 'Nazione',
|
||||
|
||||
@@ -3055,6 +3055,11 @@ export const tools = {
|
||||
if (mytimestamp) return date.formatDate(mytimestamp, 'DD/MM/YYYY')
|
||||
return ''
|
||||
},
|
||||
getstrDateShort(mytimestamp: Date | number | string | undefined) {
|
||||
// console.log('getstrDate', mytimestamp)
|
||||
if (mytimestamp) return date.formatDate(mytimestamp, 'DD/MM/YY')
|
||||
return ''
|
||||
},
|
||||
getstrMonth(mytimestamp: Date | number | string | undefined) {
|
||||
// console.log('getstrDate', mytimestamp)
|
||||
if (mytimestamp) return date.formatDate(mytimestamp, 'MMMM YYYY')
|
||||
@@ -5585,9 +5590,9 @@ export const tools = {
|
||||
userStore.my.profile.userstoverify = userStore.my.profile.userstoverify.filter((rec: any) => rec.username !== usernameDest)
|
||||
|
||||
if (value)
|
||||
tools.showPositiveNotif($q, t('db.trusted', {username: usernameDest}))
|
||||
tools.showPositiveNotif($q, t('db.enabled_to_app', {username: usernameDest}))
|
||||
else
|
||||
tools.showNegativeNotif($q, t('db.rejected', {username: usernameDest}))
|
||||
tools.showNegativeNotif($q, t('db.rejected_to_app', {username: usernameDest}))
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -7334,6 +7339,9 @@ export const tools = {
|
||||
if (tablejoin === 'provinces') {
|
||||
ris = 'profile.resid_province'
|
||||
}
|
||||
if (tablejoin === 'cards') {
|
||||
ris = 'profile.resid_card'
|
||||
}
|
||||
if (tablejoin === 'regions') {
|
||||
ris = 'mycities.reg'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user