Skip to content

Commit 53b2a6d

Browse files
authored
Revert "fix wrong payment info template paths (#1201)" (#2179)
1 parent fcfe0bb commit 53b2a6d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/code/core/Mage/Payment/Block/Info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getMethod()
7474
*/
7575
public function toPdf()
7676
{
77-
$this->setTemplate('payment/info/default.phtml');
77+
$this->setTemplate('payment/info/pdf/default.phtml');
7878
return $this->toHtml();
7979
}
8080

app/code/core/Mage/Payment/Block/Info/Checkmo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected function _convertAdditionalData()
9292
*/
9393
public function toPdf()
9494
{
95-
$this->setTemplate('payment/info/checkmo.phtml');
95+
$this->setTemplate('payment/info/pdf/checkmo.phtml');
9696
return $this->toHtml();
9797
}
9898
}

app/code/core/Mage/Payment/Block/Info/Purchaseorder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function _construct()
3838
*/
3939
public function toPdf()
4040
{
41-
$this->setTemplate('payment/info/purchaseorder.phtml');
41+
$this->setTemplate('payment/info/pdf/purchaseorder.phtml');
4242
return $this->toHtml();
4343
}
4444
}

0 commit comments

Comments
 (0)