This commit is contained in:
@@ -3430,6 +3430,11 @@ export function DashboardShell({
|
|||||||
{currencyFormatter.format(donation.amount)}
|
{currencyFormatter.format(donation.amount)}
|
||||||
{donation.expenseTitle ? ` · ${donation.expenseTitle}` : ""}
|
{donation.expenseTitle ? ` · ${donation.expenseTitle}` : ""}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
{donation.description ? (
|
||||||
|
<Typography variant="body2" sx={{ mt: 0.4, whiteSpace: "pre-line", overflowWrap: "break-word" }}>
|
||||||
|
{donation.description}
|
||||||
|
</Typography>
|
||||||
|
) : null}
|
||||||
</Box>
|
</Box>
|
||||||
<Stack direction="row" gap={0.5}>
|
<Stack direction="row" gap={0.5}>
|
||||||
<IconButton size="small" disabled={busy} onClick={() => setEditingDonationId(donation.id)}>
|
<IconButton size="small" disabled={busy} onClick={() => setEditingDonationId(donation.id)}>
|
||||||
@@ -3473,6 +3478,15 @@ export function DashboardShell({
|
|||||||
onChange={(event) => updateDonationDraft(donation, { amount: event.target.value })}
|
onChange={(event) => updateDonationDraft(donation, { amount: event.target.value })}
|
||||||
fullWidth
|
fullWidth
|
||||||
/>
|
/>
|
||||||
|
<TextField
|
||||||
|
label="Beschreibung"
|
||||||
|
size="small"
|
||||||
|
value={draft.description}
|
||||||
|
onChange={(event) => updateDonationDraft(donation, { description: event.target.value })}
|
||||||
|
fullWidth
|
||||||
|
multiline
|
||||||
|
minRows={2}
|
||||||
|
/>
|
||||||
<TextField
|
<TextField
|
||||||
label="Spendendatum"
|
label="Spendendatum"
|
||||||
type="date"
|
type="date"
|
||||||
|
|||||||
Reference in New Issue
Block a user