Reply to comment

Chris,

Love the post, love the extension.

As far as making my store ATO compliant, I am wondering how people have gotten around the "order date" instead of "invoice date" on the invoice. This is really the only thing left as I can see to make the store compliant in AU. I believe the post from Tim Lester pointed this out as well.
As far as changing text like "invoice" into "tax invoice" etc. modify the locale translation file (as you have specified above), or using inline translation, or actually modify the email template seem to do the trick.

However adding a new field which I can't see present by the time the email is created seems, somewhat harder. The actual fields available at the email template level don't seem to have invoice date, refer here for exact list:
http://www.magentocommerce.com/wiki/modules_reference/English/Mage_Adminhtml/system_email_template/index/

The only way I see to achieve this is to modify some core files, to include an invoice date variable. I was trying to avoid having to unravel the web of magneto core files to find out where to insert probably a few lines of codes (as functions no doubt have already been written to get the invoice date - as is used in the admin section.) Has anyone already gone to this effort? Besides those who want to charge money for a simple extension; just to add the invoice date.

If anyone has already written some code to do this, it would be appreciated if they could share. Once I get a solution I will post it here, even if I have to end up writing it myself.

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <apache>, <bash>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <perl>, <php>, <python>, <ruby>, <xml>. The supported tag styles are: <foo>, [foo].

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.