feat(android-history): 履歴詳細と PDF にデンソーのかんばん項目を記載する (#111) - #116
Merged
Merged
Conversation
…nd PDF The history detail and the PDF report select the record by the session's destination instead of the lenient Kanban parse, add a Denso section with the kanban fields (form type, part number as 6-4, packaging, pack quantity, next process, instruction, kanban serial, management number, delivery date, run, instructed quantity, item number, receiving code), and print the kanban serial with every box. The default destination of formatPartNumber is removed so every caller names its destination. Sawai and Molten output is unchanged. Refs #111
7 tasks
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.
Closes #111 (parent #106). Builds on #113 / #114.
変更
HistoryDeliveryGroups.kt:MatchEntry.densoRecord()(detectDestination == DENSOガード。寛容なKanbanQrRecord.parseがデンソーの QR を澤井として通すため、判定は仕向地で行う)。HistoryPdfContent.kt:appendGroupをwhen (destination)にし、DENSO は かんばん 3 行(部品番号6-4・収容数・指示数 / 次区・指示・納入日・便 / 管理番号・アイテムNo・受入)+ 各箱の記録(かんばん連番を併記)。澤井・モルテンの出力は不変。HistoryExportText.kt/feature/historystrings(ja/en)/HistoryUiText/HistoryUiResources: デンソー項目のラベル 10 個を追加。HistoryScreen.HistoryEntryDetail:when (destination)で DENSO 分岐(13 項目)。管理コードは既存のバーコード節。CodeMatcher.formatPartNumberの既定引数を削除し、全呼び出しが仕向地を明示。テスト
HistoryPdfContentTest+2(JA / EN、カード番号と納品番号数が出ないことも断言)、HistoryDeliveryGroupsTest+1、HistoryExportTextTest(Denso 追加)、HistoryJsonExporterTest+1、HistoryScreenTest+2lintDebug testDebugUnitTest: 446 tests, 0 failures。:app:assembleRelease成功。Pixel 7 で:feature:history:connectedDebugAndroidTest17 件緑。🤖 Generated with Claude Code