mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-06 05:55:21 +02:00
Show cash + holdings value for investment account view (#1046)
* Handle missing tickers in security price syncs * Show combined cash and holdings value on account page * Improve partial locals
This commit is contained in:
parent
453a54e5e6
commit
ea8309eedd
20 changed files with 168 additions and 33 deletions
8
config/locales/views/account/cashes/en.yml
Normal file
8
config/locales/views/account/cashes/en.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
en:
|
||||
account:
|
||||
cashes:
|
||||
index:
|
||||
cash: Cash
|
||||
name: Name
|
||||
value: Total Balance
|
|
@ -47,9 +47,11 @@ en:
|
|||
settings: Settings
|
||||
tags_label: Select one or more tags
|
||||
transaction:
|
||||
deposit: Deposit
|
||||
remove_transfer: Remove transfer
|
||||
remove_transfer_body: This will remove the transfer from this transaction
|
||||
remove_transfer_confirm: Confirm
|
||||
withdrawal: Withdrawal
|
||||
valuation:
|
||||
form:
|
||||
cancel: Cancel
|
||||
|
@ -70,10 +72,10 @@ en:
|
|||
loading: Loading entries...
|
||||
trades:
|
||||
amount: Amount
|
||||
new: New trade
|
||||
no_trades: No trades for this account yet.
|
||||
trade: trade
|
||||
trades: Trades
|
||||
new: New transaction
|
||||
no_trades: No transactions for this account yet.
|
||||
trade: transaction
|
||||
trades: Transactions
|
||||
type: Type
|
||||
transactions:
|
||||
new: New transaction
|
||||
|
|
|
@ -48,6 +48,7 @@ en:
|
|||
title: Add an account
|
||||
ungrouped: "(none)"
|
||||
show:
|
||||
cash: Cash
|
||||
confirm_accept: Delete "%{name}"
|
||||
confirm_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
|
||||
|
@ -63,7 +64,7 @@ en:
|
|||
graphs may not reflect accurate values.
|
||||
sync_message_unknown_error: An error has occurred during the sync.
|
||||
total_value: Total Value
|
||||
trades: Trades
|
||||
trades: Transactions
|
||||
transactions: Transactions
|
||||
value: Value
|
||||
summary:
|
||||
|
|
|
@ -79,6 +79,7 @@ Rails.application.routes.draw do
|
|||
resource :logo, only: :show
|
||||
|
||||
resources :holdings, only: %i[ index new show ]
|
||||
resources :cashes, only: :index
|
||||
|
||||
resources :entries, except: :index do
|
||||
collection do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue