milindsaraswala Posted April 27, 2012 Share Posted April 27, 2012 Hi, I want to customize my Invoice PDF. I am trying to add Transaction ID under Order No, as you guys must be knowing Order No is one cell and I want to break line after order no and want add my reference no. Can some help me. My code is like this $pdf->Cell(55, 6, self::l('Order #').sprintf('%06d', self::$order->id), 'L',0); $pdf->Cell(55,6, self::l('Reference #').$order->getTransactionID(),'L',0); $pdf->Cell(70, 6, self::l('Carrier:').($order->gift ? ' '.Tools::iconv('utf-8', self::encoding(), $carrier->name) : ''), 'L'); $pdf->Cell(0, 6, self::l('Payment method:'), 'LR'); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now