ref #193
This commit is contained in:
@@ -29,10 +29,10 @@ export class ResponseDonor extends ResponseParticipant implements IResponse {
|
||||
donationAmount: number;
|
||||
|
||||
/**
|
||||
* Returns the total payed donations of a donor based on his linked donations.
|
||||
* Returns the total paid donations of a donor based on his linked donations.
|
||||
*/
|
||||
@IsInt()
|
||||
payedDonationAmount: number;
|
||||
paidDonationAmount: number;
|
||||
|
||||
/**
|
||||
* Creates a ResponseRunner object from a runner.
|
||||
@@ -42,5 +42,6 @@ export class ResponseDonor extends ResponseParticipant implements IResponse {
|
||||
super(donor);
|
||||
this.receiptNeeded = donor.receiptNeeded;
|
||||
this.donationAmount = donor.donationAmount;
|
||||
this.paidDonationAmount = donor.paidDonationAmount;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user