-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from UTDallasEPICS/stage
Updating Comment Moderation Branch
- Loading branch information
Showing
38 changed files
with
23,439 additions
and
22,950 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<template lang="pug"> | ||
.flex.gap-5.justify-around | ||
div | ||
p.text-center.mt-10 Family | ||
.flex.flex-col.w-full.justify-center.gap-5.mt-5 | ||
.border.border-grey-500.p-5 | ||
p.self-center.text-center Total Donations | ||
p.text-center.mt-2 {{ donationFormat(props.totalPageDonations) }} | ||
.border.border-grey-500.p-5 | ||
p.self-center.text-center All Funds Distributed | ||
p.text-center.mt-2 {{ donationFormat(props.totalDistributed) }} | ||
.border.border-grey-500.p-5 | ||
p.self-center.text-center Remaining Amount to Distribute | ||
p.text-center.mt-2 {{ donationFormat(props.totalRemaining) }} | ||
div | ||
p.text-center.mt-10 Page | ||
.flex.flex-col.w-full.justify-center.gap-5.mt-5 | ||
.border.border-grey-500.p-5 | ||
p.self-center.text-center All Page Donations | ||
p.text-center.mt-2 {{ donationFormat(props.amount_raised) }} | ||
.border.border-grey-500.p-5 | ||
p.self-center.text-center All Page Funds Distributed | ||
p.text-center.mt-2 {{ donationFormat(props.amount_distributed) }} | ||
.border.border-grey-500.p-5 | ||
p.self-center.text-center Remaining Amount to Distribute | ||
p.text-center.mt-2 {{ donationFormat(props.amount_raised - props.amount_distributed) }} | ||
div | ||
p.text-center.mt-10 Page Additonal | ||
.flex.flex-col.w-full.justify-center.gap-5.mt-5 | ||
.border.border-grey-500.p-5 | ||
p.self-center.text-center Donation Status | ||
p.text-center.mt-2 {{ props.donationStatus }} | ||
.border.border-grey-500.p-5 | ||
p.self-center.text-center Start Date | ||
p.text-center.mt-2 {{ dateFormat(props.startDate) }} | ||
.border.border-grey-500.p-5 | ||
p.self-center.text-center Last Donation Date | ||
p.text-center.mt-2 {{ props.lastDonationDate ? dateFormat(props.lastDonationDate) : "No Donations" }} | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { donationFormat, dateFormat } from "@/utils" | ||
const props = defineProps<{ | ||
totalPageDonations: number, | ||
totalDistributed: number, | ||
totalRemaining: number, | ||
amount_raised: number, | ||
amount_distributed: number, | ||
donationStatus: string, | ||
startDate: Date | string | null, | ||
lastDonationDate: Date | string | null | ||
}>() | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.