EC-CUBE / EC-CUBE/ec-cube

納品書に印字される「お届け先」について

Open
#4,363 0 comments 1 reaction 0 assignees View on GitHub
Status: needs-review
Dominant language
PHP
Stars
788
Forks
719
Avg merge
3d 20h
Merged PRs (30d)
45

Description

## 概要(Overview)
納品書の最左上にお届け先の住所や氏名が印字されますが、一般的な納品書では(送付先ではなく)ご請求先であったり、ご注文者、すなわち購入された方の情報が印字されると思います。

## 期待する内容(Expect) or 要望 (Requirement)
納品書にはお届け先ではなく注文者(代金を支払う人)が印字されるべきだと思います。
OrderPdfService.php内のソースコードのコメントは正しく「購入者」と記載されていますが、コードは届け先を印字するようになっているようです。

対応をご検討ください。

## 再現手順(Procedure)
ご注文者と送付先が異なる、例えばプレゼントのような受注の納品書を印刷する

### 環境 (environment)
+ EC-CUBE: 4.0.x
+ PHP: 7.x.x
+ DB:
- PostgreSQL x.x.x
- MySQL x.x.x

## 関連情報 (Ref)
https://github.com/EC-CUBE/ec-cube/blob/a415093ccdc53836c1d6502b150028dbdb5dcb3a/src/Eccube/Service/OrderPdfService.php#L403-L417

Contributor guide

Open the contributing guide

Research direction

Open src/Eccube/Service/OrderPdfService.php around lines 403-417 and compare the comment describing the purchaser with the address data used for the delivery note. Reproduce an order where the purchaser and recipient differ, then confirm that the generated PDF prints the purchaser's name and address rather than the delivery destination.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.