mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 13:35:21 +02:00
Feature: Add the ability to "revert" a CSV import (#1814)
* Allow reverting imports * Fix tests * Add currency column to all imports * Don't auto-enrich demo account
This commit is contained in:
parent
60925bd16c
commit
536c82f2aa
17 changed files with 125 additions and 6 deletions
|
@ -63,6 +63,8 @@ en:
|
|||
failed: Failed
|
||||
in_progress: In progress
|
||||
label: "%{type}: %{datetime}"
|
||||
reverting: Reverting
|
||||
revert_failed: Revert failed
|
||||
uploading: Processing rows
|
||||
view: View
|
||||
index:
|
||||
|
|
|
@ -65,6 +65,7 @@ Rails.application.routes.draw do
|
|||
|
||||
resources :imports, only: %i[index new show create destroy] do
|
||||
post :publish, on: :member
|
||||
put :revert, on: :member
|
||||
|
||||
resource :upload, only: %i[show update], module: :import
|
||||
resource :configuration, only: %i[show update], module: :import
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue