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