dimps123 / web-invoice

Automatically exported from code.google.com/p/web-invoice
GNU General Public License v3.0
0 stars 2 forks source link

When viewing invoice the "Invoice Date:" is the current date #149

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. View any previous invoice in HTML or PDF

What is the expected output? What do you see instead?
Should display the actual invoice date but due to missing "return" it displays 
current date.

What version of the product are you using? On what operating system?
2.1.0

Please provide any additional information below.

I have fixed my version:

diff web-invoice.php web-invoice.php.20111025
1261c1261
<           return(date(get_option('date_format', __('Y-m-d', 
WEB_INVOICE_TRANS_DOMAIN)), strtotime($invoice_info->invoice_date)));

---
>           date(get_option('date_format', __('Y-m-d', WEB_INVOICE_TRANS_DOMAIN)), 
strtotime($invoice_info->invoice_date));

Original issue reported on code.google.com by myhandyr...@gmail.com on 25 Oct 2011 at 7:49

GoogleCodeExporter commented 8 years ago
Thank you so much for this fix! I'm back up and running!

Original comment by stickma...@gmail.com on 15 Sep 2012 at 12:51