Skip to content

Web: one button to end a recurring operation or budget now #374

Description

@corentin-core

Context

Stopping a recurring planned operation or budget is possible today, but only by filling the "End date" field — which appears only once "Recurring" is ticked — or by using "Split from a date", folded inside a <details>. The common case is "this one is over now", and it deserves one button.

Proposed solution

  • Add an "End" button on the target edit page for an existing recurring target, next to Delete.
  • It sets the expiration to today and keeps every past occurrence, unlike Delete which erases the whole target.
  • Confirm inline, the way Delete already does, stating that occurrences after today disappear from the forecast.
  • The existing End date field stays for any other date.

Acceptance criteria

  • An existing recurring target can be ended in one action from its edit page.
  • Past occurrences and their links survive.
  • No occurrence after today remains in the forecast.
  • The button is absent on a non-recurring target and on one already expired.
  • The ended target no longer shows under the default "Active only" filter.
  • French translation added and the .mo recompiled.
  • User docs updated.

Related issues

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:lowBasse prioritéquick-winPeut être fait en moins de 30 minutestheme:webWeb application (FastAPI/Jinja/HTMX)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions