Skip to content

Commit 8f91c2b

Browse files
committed
Coupon codes not showing in invoice print out #9216
1 parent 8e21d5a commit 8f91c2b

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)