format donation total
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b287db4d0a
commit
431fc5a047
|
@ -168,7 +168,12 @@
|
|||
</div>
|
||||
<div class="my-1 px-1 w-full overflow-hidden sm:w-1/2 md:w-1/3">
|
||||
<h1 class="text-5xl font-semibold text-center text-gray-900">
|
||||
{general.total_donation || "0"} €
|
||||
{parseFloat(
|
||||
((general.total_donation || 0) / 100).toFixed(2)
|
||||
).toLocaleString(undefined, {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
}) || "0"} €
|
||||
</h1>
|
||||
<h1 class="text-2xl font-semibold text-center text-gray-900">
|
||||
{$_("spendensumme")}
|
||||
|
|
Loading…
Reference in New Issue