mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Rename note to memo.
This commit is contained in:
parent
8becfef6c3
commit
1ba1c44219
@ -157,7 +157,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
radioSelected: '',
|
radioSelected: '',
|
||||||
text: !this.creationUserData.note ? '' : this.creationUserData.note,
|
text: !this.creationUserData.memo ? '' : this.creationUserData.memo,
|
||||||
value: !this.creationUserData.amount ? 0 : this.creationUserData.amount / 10000,
|
value: !this.creationUserData.amount ? 0 : this.creationUserData.amount / 10000,
|
||||||
rangeMin: 0,
|
rangeMin: 0,
|
||||||
rangeMax: 1000,
|
rangeMax: 1000,
|
||||||
|
|||||||
@ -184,7 +184,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
radioSelected: '',
|
radioSelected: '',
|
||||||
text: !this.creationUserData.note ? '' : this.creationUserData.note,
|
text: !this.creationUserData.memo ? '' : this.creationUserData.memo,
|
||||||
value: !this.creationUserData.amount ? 0 : this.creationUserData.amount / 10000,
|
value: !this.creationUserData.amount ? 0 : this.creationUserData.amount / 10000,
|
||||||
rangeMin: 0,
|
rangeMin: 0,
|
||||||
rangeMax: 1000,
|
rangeMax: 1000,
|
||||||
|
|||||||
@ -8,7 +8,7 @@ export const getPendingCreations = gql`
|
|||||||
lastName
|
lastName
|
||||||
email
|
email
|
||||||
amount
|
amount
|
||||||
note
|
memo
|
||||||
date
|
date
|
||||||
moderator
|
moderator
|
||||||
creation
|
creation
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
import gql from 'graphql-tag'
|
import gql from 'graphql-tag'
|
||||||
|
|
||||||
export const updatePendingCreation = gql`
|
export const updatePendingCreation = gql`
|
||||||
query ($email: String!, $amount: Int!, $note: String!, $creationDate: String!, $moderator: Int!) {
|
query ($email: String!, $amount: Int!, $memo: String!, $creationDate: String!, $moderator: Int!) {
|
||||||
updatePendingCreation(
|
updatePendingCreation(
|
||||||
email: $email
|
email: $email
|
||||||
amount: $amount
|
amount: $amount
|
||||||
note: $note
|
memo: $memo
|
||||||
creationDate: $creationDate
|
creationDate: $creationDate
|
||||||
moderator: $moderator
|
moderator: $moderator
|
||||||
)
|
)
|
||||||
|
|||||||
@ -13,7 +13,7 @@ const apolloQueryMock = jest.fn().mockResolvedValue({
|
|||||||
lastName: 'Bloxberg',
|
lastName: 'Bloxberg',
|
||||||
email: 'bibi@bloxberg.de',
|
email: 'bibi@bloxberg.de',
|
||||||
amount: 500,
|
amount: 500,
|
||||||
note: 'Danke für alles',
|
memo: 'Danke für alles',
|
||||||
date: new Date(),
|
date: new Date(),
|
||||||
moderator: 0,
|
moderator: 0,
|
||||||
},
|
},
|
||||||
@ -22,7 +22,7 @@ const apolloQueryMock = jest.fn().mockResolvedValue({
|
|||||||
lastName: 'Hotzenplotz',
|
lastName: 'Hotzenplotz',
|
||||||
email: 'raeuber@hotzenplotz.de',
|
email: 'raeuber@hotzenplotz.de',
|
||||||
amount: 1000000,
|
amount: 1000000,
|
||||||
note: 'Gut Ergatert',
|
memo: 'Gut Ergatert',
|
||||||
date: new Date(),
|
date: new Date(),
|
||||||
moderator: 0,
|
moderator: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
@ -33,7 +33,7 @@ export default {
|
|||||||
return value + ' GDD'
|
return value + ' GDD'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ key: 'note', label: 'Text' },
|
{ key: 'memo', label: 'Text' },
|
||||||
{
|
{
|
||||||
key: 'date',
|
key: 'date',
|
||||||
label: 'Datum',
|
label: 'Datum',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user