質問

Files controling invoice/shipment order pdf content are the following:

  • vendor/magento/module-sales/Model/Order/Pdf/Invoice.php
  • vendor/magento/module-sales/Model/Order/Pdf/Invoice.php

Is it possible to add order comments in these pdf prints?

役に立ちましたか?

解決

yes, you can do.

At Invoice.php, you can get Order object using $this->Order();

then using $this->Order()->getStatusHistoryCollection() using you can get comment history collection.

ライセンス: CC-BY-SA帰属
所属していません magento.stackexchange
scroll top