feat(dashboard): Added total donations
This commit is contained in:
parent
e0b61486b0
commit
7b2b598588
@ -93,6 +93,26 @@
|
|||||||
><polyline points="22 12 18 12 15 21 9 3 6 12 2 12" /></svg
|
><polyline points="22 12 18 12 15 21 9 3 6 12 2 12" /></svg
|
||||||
>
|
>
|
||||||
</StatCard>
|
</StatCard>
|
||||||
|
<StatCard
|
||||||
|
title={$_("total-donation-count")}
|
||||||
|
value={stats.total_donations}
|
||||||
|
href="/donations/"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
stroke="currentColor"
|
||||||
|
fill="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
size="24"
|
||||||
|
class="stroke-current text-grey-500"
|
||||||
|
height="24"
|
||||||
|
width="24"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
><polyline points="22 12 18 12 15 21 9 3 6 12 2 12" /></svg
|
||||||
|
>
|
||||||
|
</StatCard>
|
||||||
<StatCard
|
<StatCard
|
||||||
title={$_("total-donations")}
|
title={$_("total-donations")}
|
||||||
value={`${(stats.total_donation / 100).toFixed(2)} €`}
|
value={`${(stats.total_donation / 100).toFixed(2)} €`}
|
||||||
|
@ -490,5 +490,6 @@
|
|||||||
"you-have-to-save-your-changes-to-generate-a-link": "Du musst deine Änderungen speichern, um einen Link zu generieren.",
|
"you-have-to-save-your-changes-to-generate-a-link": "Du musst deine Änderungen speichern, um einen Link zu generieren.",
|
||||||
"you-must-create-at-least-one-card-or-cancel": "Du musst mindestens eine Blankokarte erstellen (oder abbrechen).",
|
"you-must-create-at-least-one-card-or-cancel": "Du musst mindestens eine Blankokarte erstellen (oder abbrechen).",
|
||||||
"zip-postal-code": "Postleitzahl",
|
"zip-postal-code": "Postleitzahl",
|
||||||
"total-donors": "gesamte Sponsor:innen"
|
"total-donors": "gesamte Sponsor:innen",
|
||||||
|
"total-donation-count": "Gesamte Sponsorings"
|
||||||
}
|
}
|
||||||
|
@ -490,5 +490,6 @@
|
|||||||
"you-have-to-save-your-changes-to-generate-a-link": "You have to save your changes to generate a link.",
|
"you-have-to-save-your-changes-to-generate-a-link": "You have to save your changes to generate a link.",
|
||||||
"you-must-create-at-least-one-card-or-cancel": "You must create at least one card (or cancel).",
|
"you-must-create-at-least-one-card-or-cancel": "You must create at least one card (or cancel).",
|
||||||
"zip-postal-code": "ZIP/ postal code",
|
"zip-postal-code": "ZIP/ postal code",
|
||||||
"total-donors": "total donors"
|
"total-donors": "total donors",
|
||||||
|
"total-donation-count": "total donations (count)"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user