mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Add ability to delete Account (#582)
* Add ability to delete Account
Issue #571
* Fix ActiveJob::DeserializationError in AccountSyncJob when an account doesn't exists
* Use custom confirm modal for account deletion
* Revert "Fix ActiveJob::DeserializationError in AccountSyncJob when an account doesn't exists"
This reverts commit 8dbf634819
.
This commit is contained in:
parent
7fa77b4fd7
commit
f6540c03ef
5 changed files with 31 additions and 7 deletions
|
@ -3,6 +3,8 @@ en:
|
|||
accounts:
|
||||
create:
|
||||
success: New account created successfully
|
||||
destroy:
|
||||
success: Account deleted successfully
|
||||
index:
|
||||
new_account: New account
|
||||
new:
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
---
|
||||
en:
|
||||
custom_turbo_confirm:
|
||||
account_destroy:
|
||||
accept: Delete "%{name}"
|
||||
body_html: "<p>By deleting this account, you will erase its value history, affecting
|
||||
various aspects of your overall account. This action will have a direct impact
|
||||
on your net worth calculations and the account graphs.</p><br /> <p>After
|
||||
deletion, there is no way you'll be able to restore the account information
|
||||
because you'll need to add it as a new account.</p>"
|
||||
title: Delete account?
|
||||
default:
|
||||
accept: Confirm
|
||||
body_html: "<p>You will not be able to undo this decision</p>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue