-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
blockedIssue blocked by another issueIssue blocked by another issue
Description
!!! Blocked By: #924, #925, #926 !!!
Description:
Create admin CRUD interface for PortfolioTransactions with dynamic enum select and currency formatting.
Tasks:
- Create controller:
Admin::PortfolioTransactionsController - Create views: show, new, edit (no index per routes config)
- Setup routes (except index)
- Implement transaction_type select that dynamically loads enum values
- Format
amount_centsas currency ($ prefix, 2 decimals, 0.01 multiplier) - Add read-only
reason_humanizedfield - Display BelongsTo portfolio association
Files to Create:
app/controllers/admin/portfolio_transactions_controller.rbapp/views/admin/portfolio_transactions/show.html.erbapp/views/admin/portfolio_transactions/_form.html.erb
Reference:
app/dashboards/portfolio_transaction_dashboard.rbapp/models/portfolio_transaction.rb(for enum)
Metadata
Metadata
Assignees
Labels
blockedIssue blocked by another issueIssue blocked by another issue
Type
Projects
Status
Done