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

納品書の送料が2つ表示される問題を修正 #4717

Merged
merged 2 commits into from Oct 12, 2020

Conversation

kazumiiiiiiiiiii
Copy link
Contributor

@kazumiiiiiiiiiii kazumiiiiiiiiiii commented Oct 5, 2020

概要(Overview・Refs Issue)

納品書出力した際に「送料」が2つ表示される。

スクリーンショット_2020-10-06_1_21_11

方針(Policy)

  • 受注管理に影響が無いよう、OrderPdfServiceのrenderOrderDetailDataで対応。
  • 複数配送の納品書では送料が必要なので、複数配送ではない場合に限定。

実装に関する補足(Appendix)

単価1,000円、税込1,000円という表記もおかしい気がするので、詳細の方から除きました。

テスト(Test)

手動で動作確認。

相談(Discussion)

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更
  • フックポイントの呼び出しタイミングの変更
  • フックポイントのパラメータの削除・データ型の変更
  • twigファイルに渡しているパラメータの削除・データ型の変更
  • Serviceクラスの公開関数の、引数の削除・データ型の変更
  • 入出力ファイル(CSVなど)のフォーマット変更

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか

Copy link
Contributor

@okazy okazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kazumiiiiiiiiiii

ありがとうございます!
表示わかりやすくなったと思います!
動作も確認して問題ありませんでした。
細かいですが、 isProduct() の方が文脈としてわかりやすいかと思いましたのでsuggestionしてみました。

src/Eccube/Service/OrderPdfService.php Outdated Show resolved Hide resolved
@okazy okazy added the improvement 機能改善 label Oct 8, 2020
@okazy okazy added this to the 4.0.x milestone Oct 8, 2020
@okazy
Copy link
Contributor

okazy commented Oct 8, 2020

変更前

image

変更後

image

Co-authored-by: Hideki Okajima <hideki518c@gmail.com>
@kazumiiiiiiiiiii
Copy link
Contributor Author

@okazy そうですね!isProductでいいですね。
ありがとうございます!

Copy link
Contributor

@okazy okazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご確認ありがとうございます!

@okazy okazy modified the milestones: 4.0.x, 4.0.6 Oct 9, 2020
@okazy okazy merged commit 8e0ed9b into EC-CUBE:4.0 Oct 12, 2020
@okazy
Copy link
Contributor

okazy commented Oct 12, 2020

@kazumiiiiiiiiiii ありがとうございます!マージしました 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants