forked from trent_larson/crowd-funder-for-time-pwa
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
This commit is contained in:
@@ -47,7 +47,8 @@
|
||||
giverDid: giver?.did,
|
||||
giverName: giver?.name,
|
||||
offerId,
|
||||
fulfillsProjectId: projectId,
|
||||
fulfillsProjectId: toProjectId,
|
||||
providerProjectId: fromProjectId,
|
||||
recipientDid: receiver?.did,
|
||||
recipientName: receiver?.name,
|
||||
unitCode,
|
||||
@@ -98,7 +99,8 @@ import { Contact } from "@/db/tables/contacts";
|
||||
export default class GiftedDialog extends Vue {
|
||||
$notify!: (notification: NotificationIface, timeout?: number) => void;
|
||||
|
||||
@Prop projectId = "";
|
||||
@Prop fromProjectId = "";
|
||||
@Prop toProjectId = "";
|
||||
|
||||
activeDid = "";
|
||||
allContacts: Array<Contact> = [];
|
||||
@@ -294,9 +296,11 @@ export default class GiftedDialog extends Vue {
|
||||
description,
|
||||
amount,
|
||||
unitCode,
|
||||
this.projectId,
|
||||
this.toProjectId,
|
||||
this.offerId,
|
||||
this.isTrade,
|
||||
undefined,
|
||||
this.fromProjectId,
|
||||
);
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user