1
0
Fork 0
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:
Zach Gollwitzer 2024-08-02 17:09:25 -04:00 committed by GitHub
parent 453a54e5e6
commit ea8309eedd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 168 additions and 33 deletions

View file

@ -0,0 +1,8 @@
---
en:
account:
cashes:
index:
cash: Cash
name: Name
value: Total Balance

View file

@ -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

View file

@ -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:

View file

@ -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