Skip to content

Commit d3d0610

Browse files
author
Oleksii Korshenko
authored
MAGETWO-69551: Coupon codes not showing in invoice print out #9216 #9780
2 parents af11104 + feae0c5 commit d3d0610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Pdf/Total/DefaultTotal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,6 @@ public function getAmount()
165165
*/
166166
public function getTitleDescription()
167167
{
168-
return $this->getSource()->getDataUsingMethod($this->getTitleSourceField());
168+
return $this->getSource()->getOrder()->getData($this->getTitleSourceField());
169169
}
170170
}

0 commit comments

Comments
 (0)