I have added the Invoice Creation Date to the invoice PDF, modifying the the app\code\core\Mage\Sales\Order\Pdf\Ivoice.php like so:

    Mage::helper('sales')->__('Invoice # ') 
    . $invoice->getIncrementId()
    . " - "
    . Mage::helper('sales')->__('Invoice Date') 
    . " "
    . Mage::helper('core')->formatDate($invoice->getCreatedAt(), 'medium', false)

But instead of the string " - " I wish to insert a new line, I've already tried "\n" and "<br>"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.