Skip to content

Commit

Permalink
Revert "fix wrong payment info template paths (#1201)" (#2179)
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Jun 2, 2022
1 parent fcfe0bb commit 53b2a6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Payment/Block/Info.php
Expand Up @@ -74,7 +74,7 @@ public function getMethod()
*/
public function toPdf()
{
$this->setTemplate('payment/info/default.phtml');
$this->setTemplate('payment/info/pdf/default.phtml');
return $this->toHtml();
}

Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Payment/Block/Info/Checkmo.php
Expand Up @@ -92,7 +92,7 @@ protected function _convertAdditionalData()
*/
public function toPdf()
{
$this->setTemplate('payment/info/checkmo.phtml');
$this->setTemplate('payment/info/pdf/checkmo.phtml');
return $this->toHtml();
}
}
2 changes: 1 addition & 1 deletion app/code/core/Mage/Payment/Block/Info/Purchaseorder.php
Expand Up @@ -38,7 +38,7 @@ protected function _construct()
*/
public function toPdf()
{
$this->setTemplate('payment/info/purchaseorder.phtml');
$this->setTemplate('payment/info/pdf/purchaseorder.phtml');
return $this->toHtml();
}
}

0 comments on commit 53b2a6d

Please sign in to comment.