Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

家計簿詳細画面で「入金、出金」の箇所で数字が表示されてしまっている。 #14

Closed
12N0c06eIzu opened this issue Jan 22, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@12N0c06eIzu
Copy link
Owner

top.htmlではDjangoHtmlTemplateで、出し分けをしているが、詳細ではその様になっていない。
詳細画面に限って発生している状態なのでTop.htmlと同様の対応が必要。

ModelをつかってIF分岐以外の表示方法がないか調査する。

@12N0c06eIzu 12N0c06eIzu added the bug Something isn't working label Jan 22, 2023
@12N0c06eIzu
Copy link
Owner Author

{{kakeibo.get_io_flag_display }}
Choiseでセレクトボックスを表示できるようにしていると
上記のような記載で簡単に取得することができるようだ。

12N0c06eIzu added a commit that referenced this issue Jan 22, 2023
@12N0c06eIzu
Copy link
Owner Author

修正が確認できたので完了とします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant