mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-03 04:25:21 +02:00
Nested Categories (#1561)
* Prepare entry search for nested categories * Subcategory implementation * Remove caching for test stability
This commit is contained in:
parent
a4d10097d5
commit
77def1db40
31 changed files with 297 additions and 234 deletions
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
en:
|
||||
transaction:
|
||||
default_category:
|
||||
auto_and_transport: Auto & Transport
|
||||
entertainment: Entertainment
|
||||
food_and_drink: Food & Drink
|
||||
general_services: General Services
|
||||
home_improvement: Home Improvement
|
||||
income: Income
|
||||
personal_care: Personal Care
|
||||
rent_and_utilities: Rent & Utilities
|
|
@ -1,12 +1,16 @@
|
|||
---
|
||||
en:
|
||||
category:
|
||||
dropdowns:
|
||||
show:
|
||||
empty: No categories found
|
||||
bootstrap: Generate default categories
|
||||
categories:
|
||||
category:
|
||||
delete: Delete category
|
||||
edit: Edit category
|
||||
create:
|
||||
failure: 'Failed to create category: %{error}'
|
||||
success: New transaction category created successfully
|
||||
success: Category created successfully
|
||||
destroy:
|
||||
success: Category deleted successfully
|
||||
edit:
|
||||
|
@ -17,9 +21,12 @@ en:
|
|||
categories: Categories
|
||||
empty: No categories found
|
||||
new: New category
|
||||
bootstrap: Use default categories
|
||||
bootstrap:
|
||||
success: Default categories created successfully
|
||||
menu:
|
||||
loading: Loading...
|
||||
new:
|
||||
new_category: New category
|
||||
update:
|
||||
success: Transaction category updated successfully
|
||||
success: Category updated successfully
|
||||
|
|
|
@ -40,6 +40,8 @@ Rails.application.routes.draw do
|
|||
|
||||
resources :categories do
|
||||
resources :deletions, only: %i[new create], module: :category
|
||||
|
||||
post :bootstrap, on: :collection
|
||||
end
|
||||
|
||||
resources :merchants, only: %i[index new create edit update destroy]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue