mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
Add Property Details View (#1116)
* Add backend for property account details
* Rubocop updates
* Add property form with details
* Revert "Rubocop updates"
This reverts commit 05b0b8f3a4
.
* Bump brakeman to latest version
* Add overview section to property view
* Lint fixes
This commit is contained in:
parent
4433488562
commit
e856691c86
30 changed files with 547 additions and 81 deletions
15
config/locales/models/address/en.yml
Normal file
15
config/locales/models/address/en.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
en:
|
||||
address:
|
||||
attributes:
|
||||
country: Country
|
||||
line1: Address Line 1
|
||||
line2: Address Line 2
|
||||
locality: Locality
|
||||
postal_code: Postal Code
|
||||
region: Region
|
||||
format: |-
|
||||
%{line1}
|
||||
%{line2}
|
||||
%{locality}, %{region} %{postal_code}
|
||||
%{country}
|
|
@ -1,20 +1,42 @@
|
|||
---
|
||||
en:
|
||||
accounts:
|
||||
accountables:
|
||||
property:
|
||||
area_unit: Area unit
|
||||
area_value: Area value (optional)
|
||||
city: City
|
||||
country: Country
|
||||
line1: Address line 1
|
||||
line2: Address line 2 (optional)
|
||||
overview:
|
||||
living_area: Living Area
|
||||
market_value: Market Value
|
||||
purchase_price: Purchase Price
|
||||
trend: Trend
|
||||
unknown: Unknown
|
||||
year_built: Year Built
|
||||
postal_code: Postal code (optional)
|
||||
state: State
|
||||
year_built: Year built (optional)
|
||||
create:
|
||||
success: New account created successfully
|
||||
destroy:
|
||||
success: Account deleted successfully
|
||||
edit:
|
||||
balance: Balance
|
||||
edit: Edit %{account}
|
||||
institution: Financial institution
|
||||
name: Name
|
||||
ungrouped: "(none)"
|
||||
empty:
|
||||
empty_message: Add an account either via connection, importing or entering manually.
|
||||
new_account: New account
|
||||
no_accounts: No accounts yet
|
||||
form:
|
||||
balance: Current balance
|
||||
institution: Financial institution
|
||||
name_label: Account name
|
||||
name_placeholder: Example account name
|
||||
start_balance: Start balance (optional)
|
||||
start_date: Start date (optional)
|
||||
ungrouped: "(none)"
|
||||
header:
|
||||
accounts: Accounts
|
||||
manage: Manage accounts
|
||||
|
@ -36,17 +58,8 @@ en:
|
|||
institutionless_accounts:
|
||||
other_accounts: Other accounts
|
||||
new:
|
||||
balance: Current balance
|
||||
institution: Financial institution
|
||||
name:
|
||||
label: Account name
|
||||
placeholder: Example account name
|
||||
optional_start_balance_message: Add a start balance for this account
|
||||
select_accountable_type: What would you like to add?
|
||||
start_balance: Start balance (optional)
|
||||
start_date: Start date (optional)
|
||||
title: Add an account
|
||||
ungrouped: "(none)"
|
||||
show:
|
||||
cash: Cash
|
||||
confirm_accept: Delete "%{name}"
|
||||
|
@ -60,6 +73,7 @@ en:
|
|||
holdings: Holdings
|
||||
import: Import transactions
|
||||
no_change: No change
|
||||
overview: Overview
|
||||
sync_message_missing_rates: Since exchange rates haven't been synced, balance
|
||||
graphs may not reflect accurate values.
|
||||
sync_message_unknown_error: An error has occurred during the sync.
|
||||
|
|
7
config/locales/views/properties/en.yml
Normal file
7
config/locales/views/properties/en.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
en:
|
||||
properties:
|
||||
create:
|
||||
success: Property created successfully
|
||||
update:
|
||||
success: Property updated successfully
|
Loading…
Add table
Add a link
Reference in a new issue