Can delete a single inbox entry

This commit is contained in:
2025-05-12 20:36:42 +02:00
parent 07ee499742
commit 2f807b4c73
4 changed files with 115 additions and 4 deletions

View File

@ -167,7 +167,7 @@ function MovementsTable(p: {
try {
if (
!(await confirm(
`Do you really want to detach the file attached to the movement ${movement.label} (${movement.amount}€)? The associated file will be automatically deleted within the day if it is not referenced anywhere else!`,
`Do you really want to detach the file attached to the movement ${movement.label} (${movement.amount} €)? The associated file will be automatically deleted within the day if it is not referenced anywhere else!`,
`Detach file from movement`,
`Detach file`
))
@ -186,7 +186,7 @@ function MovementsTable(p: {
try {
if (
!(await confirm(
`Do you really want to delete the movement ${movement.label} (${movement.amount}€)?`
`Do you really want to delete the movement ${movement.label} (${movement.amount} €)?`
))
)
return;
@ -377,7 +377,9 @@ function MovementsTable(p: {
variant="standard"
size="small"
value={labelFilter}
onChange={(e) => { setLabelFilter(e.target.value); }}
onChange={(e) => {
setLabelFilter(e.target.value);
}}
style={{ padding: "0px", flex: 1 }}
/>
<span style={{ flex: 1 }}></span>