Add project-to-project case

This commit is contained in:
Jose Olarte III
2025-06-26 18:52:52 +08:00
parent c9405839c3
commit 08c46a27d3

View File

@@ -885,6 +885,12 @@ export default class GiftedDialog extends Vue {
toDid = undefined; // No person recipient
fulfillsProjectHandleId = this.toProjectId; // Project recipient
providerPlanHandleId = undefined; // No project giver
} else if (this.giverEntityType === "project" && this.recipientEntityType === "project") {
// Project-to-project gift
fromDid = undefined; // No person giver
toDid = undefined; // No person recipient
fulfillsProjectHandleId = this.toProjectId; // Project recipient
providerPlanHandleId = this.giver?.handleId; // Project giver
} else {
// Person-to-person gift
fromDid = giverDid as string;