fixing amount for each separate organization

This commit is contained in:
Arjun Patel
2019-03-06 02:34:46 -08:00
parent fad664e04e
commit bc0e2bd0fd
6 changed files with 56 additions and 21 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ module.exports = models => {
Organization,
Charge,
PaymentPlan,
OrgBank
OrgBank,
GrantsOrganizations
} = models;
Donor.hasMany(Grant, { foreignKey: 'donor_id' });