Zen Cart Logo
Forums / Bug Reports / [Not a bug] Adding date to invoice number not working

[Not a bug] Adding date to invoice number not working

Locked

Views: 789

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 Jan 2012, 1:21 AM
#1
racinjason avatar

racinjason

New Zenner

Join Date:
Jan 2012
Posts:
30
Plugin Contributions:
0

[Not a bug] Adding date to invoice number not working

I copy and pasted the following code to add the date to my invoice numbers I got from another post and tried to fix the errors as posted but it is still not working.

<td class="main"><b><?php echo ENTRY_ORDER_ID . $oID . '-' . date(Y,strtotime($order->info['date_purchased'])) ; ?></b></td>

Anyone see where I went wrong?

I tried different variations. I also had YMD as I do want the day month and year.
Thanks
Jason
Canada

17 Jan 2012, 1:45 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Not a bug] Adding date to invoice number not working

This is not a Zen Cart bug.
It's a problem with your own customizations.

Please don't file Bug Reports that are not a problem in the Zen Cart core code.

You've already started a discussion on the same matter here: http://www.zen-cart.com/forum/showthread.php?p=1095071#post1095071
Please continue your discussion there.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.