Skip to main content
added invoice tag
Source Link
7ochem
  • 7.6k
  • 14
  • 52
  • 80

I would like to have a line between each item purchased on the PDF invoice. I

I went to Mage>Sales>Model>Order>Pdf>Items>Invoice>Default.php, made a local copy to not change the core items and added the following line after draw Tax ..); /* Separator Line */ $page->setLineColor(new Zend_Pdf_Color_GrayScale(0.5)); $page->setLineWidth(0.5); $page->drawLine(380, 30, 380, 40);:

/* Separator Line */
$page->setLineColor(new Zend_Pdf_Color_GrayScale(0.5));
$page->setLineWidth(0.5);
$page->drawLine(380, 30, 380, 40);

But it doesn't show up. Can someone let me know how the best way to do this. Would be great, thanks

I would like to have a line between each item purchased on the PDF invoice. I went to Mage>Sales>Model>Order>Pdf>Items>Invoice>Default.php, made a local copy to not change the core items and added the following line after draw Tax ..); /* Separator Line */ $page->setLineColor(new Zend_Pdf_Color_GrayScale(0.5)); $page->setLineWidth(0.5); $page->drawLine(380, 30, 380, 40);

But it doesn't show up. Can someone let me know how the best way to do this. Would be great, thanks

I would like to have a line between each item purchased on the PDF invoice.

I went to Mage>Sales>Model>Order>Pdf>Items>Invoice>Default.php, made a local copy to not change the core items and added the following line after draw Tax:

/* Separator Line */
$page->setLineColor(new Zend_Pdf_Color_GrayScale(0.5));
$page->setLineWidth(0.5);
$page->drawLine(380, 30, 380, 40);

But it doesn't show up. Can someone let me know how the best way to do this. Would be great, thanks

Source Link
Stefan
  • 115
  • 4
  • 14

PDF Invoice draw line between items

I would like to have a line between each item purchased on the PDF invoice. I went to Mage>Sales>Model>Order>Pdf>Items>Invoice>Default.php, made a local copy to not change the core items and added the following line after draw Tax ..); /* Separator Line */ $page->setLineColor(new Zend_Pdf_Color_GrayScale(0.5)); $page->setLineWidth(0.5); $page->drawLine(380, 30, 380, 40);

But it doesn't show up. Can someone let me know how the best way to do this. Would be great, thanks