PDA

View Full Version : Email Invoices - Where Do Templates Come From?


Sime
05-20-2007, 05:16 PM
Hi all,

I've spent today looking for a billing system to replace my spreadsheets which have become too difficult to maintain! Very impressed with kBilling and thinking seriously about buying.

One problem though:

I made some changes to the 'Tearsheet' invoice XML so it better suits my requirements. If I go to the 'Preview' option on the invoice, I can see the invoice with the changes, and print the invoice with the changes.

However, the emailed invoice doesn't appear to use the Tearsheet template (It doesn't look like the original one either). How do I get my emailed invoices to look like the printed ones? (One of the items I changed for example was 'Sold By'. I changed this to 'Technician', but the emailed invoice still says 'Sold By'.)

On another note (to the developer if s/he reads this), kBilling crashes if you attempt to print to a network printer that isn't currently online.

Cheers,

Simon.

K Software
05-21-2007, 08:18 AM
However, the emailed invoice doesn't appear to use the Tearsheet template (It doesn't look like the original one either). How do I get my emailed invoices to look like the printed ones? (One of the items I changed for example was 'Sold By'. I changed this to 'Technician', but the emailed invoice still says 'Sold By'.)

Make sure you're using the "Tearsheet" template and not the "Tearsheet PDF" template. They're different (and the PDF template is internal, so you can't change it). All that is changing soon.

On another note (to the developer if s/he reads this), kBilling crashes if you attempt to print to a network printer that isn't currently online.

I just tried that here and Windows gave a fairly standard "printer not reachable" error. What Windows version and printer are you using there?

Thanks!!

Sime
05-21-2007, 07:11 PM
Make sure you're using the "Tearsheet" template and not the "Tearsheet PDF" template. They're different (and the PDF template is internal, so you can't change it). All that is changing soon.

I see.. I've changed the email settings to "Send Invoice As Email" instead of "Send Invoice As PDF".. This should do, although it will be nice when you can change the PDF template too! ;)

I just tried that here and Windows gave a fairly standard "printer not reachable" error. What Windows version and printer are you using there?

Okay.. I just realised the network printer I was trying to send to has had its share name changed from 'HP' to 'HPLaserJet'. My XP box was still pointing at the old share name. I'd have thought kBilling should still handle this gracefully though? Word for example gives an error message saying it can't print to that printer as its offline. kBilling crashes with the following in kbilling_error.txt:

kBilling Version: 1.3.88
Error Number: -1073741819
Module: Main Module
Line Number: 1098
Windows Version: Windows XP

DC OS is Windows 2003 Server SP1, Client OS is Windows XP Pro SP2.

Not a big problem though, re-creating the printer link so it points at the new share has fixed it!

Just noticed I'm suffering from that screen resize bug mentioned in another thread :-(

K Software
05-21-2007, 09:56 PM
The printing subsystem has been redone with 2.0 to relieve the HTML/PDF template problems -- soon you'll be able to edit the template once and get any format from it.

dardarlt
05-24-2007, 02:40 AM
But in new version 1.3.88 I cannot find templates folder at all! I had 1.3.81 version and everythin was OK, templates were in the install directory...

K Software
05-24-2007, 08:14 AM
C:\Documents and Settings\All Users\Application Data\kBilling\templates\invoices

Just hit Start -> Run and copy/paste that in there and press Enter to open that directory