feat: 英語名カラム追加と国際団体向け貸出PDF英語表示対応#2004
Open
hikahana wants to merge 4 commits intofeat/inaba/1992-add-eng-rental-listfrom
Open
feat: 英語名カラム追加と国際団体向け貸出PDF英語表示対応#2004hikahana wants to merge 4 commits intofeat/inaba/1992-add-eng-rental-listfrom
hikahana wants to merge 4 commits intofeat/inaba/1992-add-eng-rental-listfrom
Conversation
…es, rental items, and stocker places
…nd stocker places
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
対応Issue
resolve #0
概要
rental_items/stocker_places/group_categoriesにname_enを追加し、英語名を保持できるようにしました。name_en優先で表示するようにしました。実装詳細
api/db/migrate/20260214000000_add_name_en_to_master_tables.rbapi/db/schema.rbgroup_category.rb,rental_item.rb,stocker_place.rbにname_enを追加group_categories_controller.rb,rental_items_controller.rb,stocker_places_controller.rbでname_enを受け付けapi/app/controllers/print_pdf_controller.rbapi/app/views/print_pdf/output_all_groups_rental_items.pdf.erbadmin_view/nuxt-project/pages/print/index.vueに英語版ダウンロード導線を追加画面スクリーンショット等
会場割り当ては未実装なので見れない。
動作確認手順、管理画面
参加団体を作る。
物品申請をする
物品割り当てを設定する
pdf出力する
物品貸し出し表まとめ (2).pdf
テスト項目
備考
locale=en指定時は国際団体(is_international=true)で絞り込んで出力する実装です。