Hi,
the first, say simpleinvoices is a tool that I was surprised both by its management and for its intuitive interface.
I am new management tool and I have a question. I need to change the format of the export to pdf. Currently I get something like this:
Blank Box Factura
Factura Resumen
Factura N
hey gtorres
we use a html2pdf script to convert the html invoices into PDF
the default invoice templates live in ./templates/invoices/default
- you can edit this template files and it'll change the PDF
let us know how you go
cheers
justin
hye gtorres
are you using localhost/simpleinvoices to access simple invoices ?
if so - try using 127.0.0.1/simpleinvoices
- some people have reported that certain web servers configs dont resolve localhost correctly
let us know
cheers
justin
Hi Justin,
I think I know what the problem is. In previous reply, I commented that wearing a plesk panel, well, I have seen on the server, the directive "allow_url_fopen" is disabled for security reasons and they can not enable. They have told me I should use cURL function. What CURL function?, Where should I use?
Greetings
Hello, i have the same problem here on remote server: when exporting to pdf CSS are not included and the document look very bad.
I have found that for PDF we can't use in the template it will not be understood by the script.
I know a solution from another software, the solution is using direct styling in the template like this :
body { color: blue; }
But In SimpleInvoice the use of "{" is forbidden and the code above will return a blank page so I put this code :
{$biller.custom_field4}
and in my custom field 4 in my biller settings i copy/paste my styles. And it worked. Off course i had to delete the {$biller.custom_field4} found in other part of the template.... The best way would be to add a css style field in the Biller edit page i think :)
(sry for my bad english)
This is the error:
[Mon Jan 18 10:21:47 2010] [error] [client xx.xx.xxx.xx] Cannot open , referer: http:///simpleinvoices/
[Mon Jan 18 10:21:47 2010] [error] [client xx.xx.xxx.xx] Cannot open http://localhost/logo.jpg, HTTP result code is: 404, referer: http:///simpleinvoices/
It looks like you're new here. If you want to get involved, click one of these buttons!