Donation management feature/79-donation_management #87

Merged
niggl merged 32 commits from feature/79-donation_management into dev 2021-02-25 16:35:13 +00:00
Showing only changes of commit b0aca9de13 - Show all commits

View File

@ -130,15 +130,19 @@
{#if d.responseType === 'DISTANCEDONATION'} {#if d.responseType === 'DISTANCEDONATION'}
<a <a
href="../donations/{d.id}" href="../donations/{d.id}"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800">{d.runner.firstname} {d.runner.middlename} {d.runner.lastname}</a> class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-600 text-white mr-1">{d.runner.firstname}
{d.runner.middlename}
{d.runner.lastname}</a>
{:else} {:else}
<a <a
href="../donations/{d.id}" href="../donations/{d.id}"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800">Fixed: class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-700 text-white mr-1">{$_('fixed-donation')}:
{d.id}</a> {(d.amount / 100)
.toFixed(2)
.toLocaleString('de-DE', { valute: 'EUR' })}€</a>
{/if} {/if}
{/each} {/each}
{:else}Donor has no associated donations.{/if} {:else}{$_('donor-has-no-associated-donations')}{/if}
</td> </td>
<td class="px-6 py-4 whitespace-nowrap"> <td class="px-6 py-4 whitespace-nowrap">
{(donor.donationAmount / 100) {(donor.donationAmount / 100)