Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Purchaseorder.php
Go to the documentation of this file.
1 <?php
7 
9 {
13  protected $_template = 'Magento_OfflinePayments::info/purchaseorder.phtml';
14 
18  public function toPdf()
19  {
20  $this->setTemplate('Magento_OfflinePayments::info/pdf/purchaseorder.phtml');
21  return $this->toHtml();
22  }
23 }