show table movements
This commit is contained in:
@@ -687,12 +687,78 @@ export const colmyMovement = [
|
||||
export const colmyMovementTable = [
|
||||
// AddCol({ name: '_id', label_trans: 'reg.id' }),
|
||||
AddCol({ name: 'transactionDate', label_trans: 'movement.transactionDate', fieldtype: costanti.FieldType.date }),
|
||||
AddCol({ name: 'userfrom.username', field: 'userfrom', subfield: 'username', label_trans: 'movement.accountFromId', fieldtype: costanti.FieldType.string, required: true }),
|
||||
AddCol({ name: 'groupfrom.groupname', field: 'groupfrom', subfield: 'groupname', label_trans: 'movement.accountFromCollId', fieldtype: costanti.FieldType.string, required: true }),
|
||||
AddCol({ name: 'contocomfrom.path', field: 'contocomfrom', subfield: 'path', label_trans: 'movement.accountFromComId', fieldtype: costanti.FieldType.string, required: true }),
|
||||
AddCol({ name: 'userto.username', field: 'userto', subfield: 'username', label_trans: 'movement.accountToId', fieldtype: costanti.FieldType.string, required: true }),
|
||||
AddCol({ name: 'groupto.groupname', field: 'groupto', subfield: 'groupname', label_trans: 'movement.accountToCollId', fieldtype: costanti.FieldType.string, required: true }),
|
||||
AddCol({ name: 'contocomto.path', field: 'contocomto', subfield: 'path', label_trans: 'movement.accountToComId', fieldtype: costanti.FieldType.string, required: true }),
|
||||
AddCol({
|
||||
name: 'userfrom.username',
|
||||
label_trans: 'reg.username',
|
||||
field: 'userfrom',
|
||||
subfield: 'username',
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/my/userfrom.username',
|
||||
tipoconto: costanti.AccountType.USER,
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'groupfrom.groupname',
|
||||
label_trans: 'movement.accountFromCollId',
|
||||
field: 'groupfrom',
|
||||
subfield: 'groupname',
|
||||
foredit: false,
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/grp/groupfrom.groupname',
|
||||
tipoconto: costanti.AccountType.COLLECTIVE_ACCOUNT,
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contocomfrom.path',
|
||||
label_trans: 'movement.accountFromComId',
|
||||
field: 'contocomfrom',
|
||||
subfield: 'path',
|
||||
foredit: false,
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/circuits/contocomfrom.path',
|
||||
tipoconto: costanti.AccountType.COMMUNITY_ACCOUNT,
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'userto.username',
|
||||
label_trans: 'reg.username',
|
||||
field: 'userto',
|
||||
subfield: 'username',
|
||||
foredit: false,
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/my/userto.username',
|
||||
tipoconto: costanti.AccountType.USER,
|
||||
required: true,
|
||||
}),
|
||||
|
||||
AddCol({
|
||||
name: 'groupto.groupname',
|
||||
label_trans: 'movement.accountToCollId',
|
||||
field: 'groupto',
|
||||
subfield: 'groupname',
|
||||
foredit: false,
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/grp/groupto.groupname',
|
||||
tipoconto: costanti.AccountType.COLLECTIVE_ACCOUNT,
|
||||
required: true,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contocomfto.path',
|
||||
label_trans: 'movement.accountToComId',
|
||||
field: 'contocomto',
|
||||
subfield: 'path',
|
||||
foredit: false,
|
||||
tipovisu: costanti.TipoVisu.LINK,
|
||||
fieldtype: costanti.FieldType.username_chip,
|
||||
link: '/circuits/contocomto.path',
|
||||
tipoconto: costanti.AccountType.COMMUNITY_ACCOUNT,
|
||||
required: true,
|
||||
}),
|
||||
|
||||
AddCol({
|
||||
name: 'amount', label_trans: 'movement.amount',
|
||||
|
||||
Reference in New Issue
Block a user