Billing module - Changing Delivery date after creating order

Discuss the webshop here.

Moderator: Developers

flo
Posts: 87
Joined: Mon Jan 26, 2009 11:49 am

Billing module - Changing Delivery date after creating order

Postby flo » Mon Mar 09, 2009 8:06 pm

is it somehow possible to change the delivery date, wich is printed on the invoice. it seems like it's getting the present day date, but I often need to change that afterwards.
I guess it would make sense to have it selectable in the order form.
mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Billing module - Changing Delivery date after creating order

Postby mschering » Tue Mar 10, 2009 8:07 am

It's not a delivery date. It's the date the invoice has been sent. It gets printed when the invoice is sent on another day then the invoice date.
Best regards,

Merijn Schering
Intermesh
flo
Posts: 87
Joined: Mon Jan 26, 2009 11:49 am

Re: Billing module - Changing Delivery date after creating order

Postby flo » Tue Mar 10, 2009 8:27 am

Intermesh wrote:It's not a delivery date. It's the date the invoice has been sent. It gets printed when the invoice is sent on another day then the invoice date.


ok, then it's probably wrong translated, because it says "Lieferdatum" in the german version, wich is the delivery date.

is there any way to hide this on the created pdf's?
mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Billing module - Changing Delivery date after creating order

Postby mschering » Tue Mar 10, 2009 8:46 am

Here's the source of the pdf create script so you can fully customize it.
Attachments
pdf.class.inc.php
modules/billing/classes/pdf.class.inc.php
(14.45 KiB) Downloaded 513 times
Best regards,



Merijn Schering

Intermesh
flo
Posts: 87
Joined: Mon Jan 26, 2009 11:49 am

Re: Billing module - Changing Delivery date after creating order

Postby flo » Tue Mar 10, 2009 3:42 pm

Intermesh wrote:Here's the source of the pdf create script so you can fully customize it.


thanks, I simply commented it out. so, this works for me, but at the next update I will have the same problem again.
could you make it a variable like %customer_vat_no% and let the user decide if they want to show that date on the invoice.
JoergHerzinger
Posts: 53
Joined: Mon Nov 16, 2009 11:09 am

Re: Billing module - Changing Delivery date after creating o

Postby JoergHerzinger » Fri Jan 07, 2011 11:10 am

I know this thread is a bit old, but the problem flo had still exists. If you don't use this module for actually delivering stuff the "Date sent" is pretty much useless and confusing. Could you add some simple option to not print the "Date sent"??
denson
Posts: 5
Joined: Sat Jun 25, 2011 12:39 am

Re: Billing module - Changing Delivery date after creating o

Postby denson » Mon Jun 27, 2011 12:14 am

It still persists though I do not have problems with it as it just tends to print the date the invoice was sent.

You could probably add another script that would let you print whatever date you want to get picked. Though the date the invoice was created or sent is already useful, as in my case.
User avatar
WilmarVB
Group-Office Developer
Group-Office Developer
Posts: 86
Joined: Mon May 10, 2010 3:47 pm
Location: Den Bosch, Netherlands
Contact:

Re: Billing module - Changing Delivery date after creating o

Postby WilmarVB » Wed Jun 29, 2011 4:03 pm

I think 'document sent' would be good for this field.
Kind regards,
WilmarVB
Intermesh
OfficeKitten
Posts: 1
Joined: Tue Oct 25, 2011 9:52 pm

Re: Billing module - Changing Delivery date after creating o

Postby OfficeKitten » Wed Oct 26, 2011 10:10 pm

JoergHerzinger wrote:I know this thread is a bit old, but the problem flo had still exists. If you don't use this module for actually delivering stuff the "Date sent" is pretty much useless and confusing. Could you add some simple option to not print the "Date sent"??


I concur with JoergHerzinger. I'm still have the same issues. It's nothing major really, but it can be a bit of an inconvenience for our accountant -- who comes in every few months to balance our budget and our company checkbook. He's unaware of the day to day operations, so we definitely want to keep information as simple and accessible as humanly possible. If someone could perhaps PM me with assistance, that would be terrific. Thank you all so much! =)

Have a great day, folks!
Pamela
Has anyone used Paycor before?
JoergHerzinger
Posts: 53
Joined: Mon Nov 16, 2009 11:09 am

Re: Billing module - Changing Delivery date after creating o

Postby JoergHerzinger » Thu Oct 27, 2011 8:29 am

OfficeKitten wrote:If someone could perhaps PM me with assistance, that would be terrific.


Hi, removing the date is actually quite simple, but it has to be done in the source code. Its quite ugly, but thats what we do:

Code: Select all

sed -i 's/if($date_sent != $bdate)/if(false)/' $WORKDIR/deb/usr/local/share/groupoffice/modules/billing/classes/pdf.class.inc.php


So, we just replace the "if($date_send ...)" with "if(false)" in pdf.class.inc.php...

Return to “Webshop products”

Who is online

Users browsing this forum: No registered users and 1 guest