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

PDFのロゴ画像をファイル管理から変更できる機能を追加 #4216

Merged
merged 2 commits into from
Jul 9, 2019

Conversation

kazumiiiiiiiiiii
Copy link
Contributor

@kazumiiiiiiiiiii kazumiiiiiiiiiii commented Jul 8, 2019

概要(Overview・Refs Issue)

#4105 納品書に表示されているロゴの変更をファイル管理から出来るようにする

方針(Policy)

コンテンツ管理/ファイル管理 から、以下のパスにロゴ画像を設置することで納品書のロゴを変更できるように機能追加しました。

user_data/assets/pdf/logo.png

実装に関する補足(Appendix)

「user_data/assets/pdf/logo.png」にファイルが存在しない場合は、「html/template/admin/assets/pdf/logo.png」を使用するように実装しています。
また、Command、Webからインストールする際に「html/template/admin/assets/pdf/logo.png」を「user_data/assets/pdf/logo.png」にコピーする処理を追加しています。

テスト(Test)

  • Webインストール時のテストを追加
  • CIでのテストを予定

相談(Discussion)

特にありません

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

  • マイナーバージョンでは、機能・プラグイン・デザインテンプレート互換性を損なう変更は原則取り込みません。
  • 既存機能の仕様変更
  • フックポイントの呼び出しタイミングの変更
  • フックポイントのパラメータの削除・データ型の変更
  • twigファイルに渡しているパラメータの削除・データ型の変更
  • Serviceクラスの公開関数の、引数の削除・データ型の変更
  • 入出力ファイル(CSVなど)のフォーマット変更

レビュワー確認項目

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

@chihiro-adachi chihiro-adachi added this to the 4.0.3 milestone Jul 9, 2019
@chihiro-adachi chihiro-adachi added the enhancement 機能追加 label Jul 9, 2019
Copy link
Contributor Author

@kazumiiiiiiiiiii kazumiiiiiiiiiii left a comment

Choose a reason for hiding this comment

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

ご確認ありがとうございます。修正いたしました。

@chihiro-adachi
Copy link
Contributor

@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

2 participants