feat(donationsoverview): Switched donations overview to datatable

This commit is contained in:
2023-04-19 17:12:04 +02:00
parent 4a6230c439
commit 133470b6f2
4 changed files with 219 additions and 193 deletions

View File

@@ -0,0 +1,16 @@
<script>
import { _ } from "svelte-i18n";
export let status;
</script>
{#if status == "PAID"}
<span
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"
>{$_("paid")}</span
>
{:else}
<span
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"
>{$_("open")}</span
>
{/if}