How to display discount in invoice pdf, magento. which is define in rules like Shopping cart price rules or catalog price rules?
1 Answer
For me this code worked
if($item->getDiscountAmount())
{
$lines[0][] = array(
'text' => $order->formatPriceTxt($item->getDiscountAmount()),
'feed' => 400
);
}