mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
change transactionLinkId to linkId.
This commit is contained in:
parent
ffb5988760
commit
d52f7f9590
@ -42,7 +42,7 @@ export class Transaction {
|
||||
this.creationDate = transaction.creationDate
|
||||
this.linkedUser = linkedUser
|
||||
this.linkedTransactionId = transaction.linkedTransactionId
|
||||
this.transactionLinkId = transaction.contribution
|
||||
this.linkId = transaction.contribution
|
||||
? transaction.contribution.contributionLinkId
|
||||
: transaction.transactionLinkId
|
||||
}
|
||||
@ -83,7 +83,7 @@ export class Transaction {
|
||||
@Field(() => Number, { nullable: true })
|
||||
linkedTransactionId?: number | null
|
||||
|
||||
// Links to the TransactionLink when transaction was created by a link
|
||||
// Links to the TransactionLink/ContributionLink when transaction was created by a link
|
||||
@Field(() => Number, { nullable: true })
|
||||
transactionLinkId?: number | null
|
||||
linkId?: number | null
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
</b-link>
|
||||
</span>
|
||||
<span v-else>{{ itemText }}</span>
|
||||
<span v-if="transactionLinkId">
|
||||
<span v-if="linkId">
|
||||
{{ $t('via_link') }}
|
||||
<b-icon
|
||||
icon="link45deg"
|
||||
@ -46,7 +46,7 @@ export default {
|
||||
type: String,
|
||||
required: false,
|
||||
},
|
||||
transactionLinkId: {
|
||||
linkId: {
|
||||
type: Number,
|
||||
required: false,
|
||||
default: null,
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
:amount="amount"
|
||||
:linkedUser="linkedUser"
|
||||
v-on="$listeners"
|
||||
:transactionLinkId="transactionLinkId"
|
||||
:linkId="linkId"
|
||||
/>
|
||||
|
||||
<!-- Nachricht Memo -->
|
||||
@ -82,7 +82,7 @@ export default {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
transactionLinkId: {
|
||||
linkId: {
|
||||
type: Number,
|
||||
required: false,
|
||||
},
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
v-on="$listeners"
|
||||
:amount="amount"
|
||||
:linkedUser="linkedUser"
|
||||
:transactionLinkId="transactionLinkId"
|
||||
:linkId="linkId"
|
||||
/>
|
||||
|
||||
<!-- Nachricht Memo -->
|
||||
@ -82,7 +82,7 @@ export default {
|
||||
typeId: {
|
||||
type: String,
|
||||
},
|
||||
transactionLinkId: {
|
||||
linkId: {
|
||||
type: Number,
|
||||
required: false,
|
||||
},
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
v-on="$listeners"
|
||||
:amount="amount"
|
||||
:linkedUser="linkedUser"
|
||||
:transactionLinkId="transactionLinkId"
|
||||
:linkId="linkId"
|
||||
/>
|
||||
|
||||
<!-- Memo -->
|
||||
@ -83,7 +83,7 @@ export default {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
transactionLinkId: {
|
||||
linkId: {
|
||||
type: Number,
|
||||
required: false,
|
||||
},
|
||||
|
||||
@ -45,7 +45,7 @@ export const transactionsQuery = gql`
|
||||
end
|
||||
duration
|
||||
}
|
||||
transactionLinkId
|
||||
linkId
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user