I'm trying to localize the actual invoices not the interface, which I've already switched to French in the hope that it would change LOCALE as well.
In other words, I'd like to add setlocale(LC_MONETARY, 'fr_FR') and specify formatting to use the comma instead of the dot in money and spaces instead of commas in large numbers (e.g. 1 000 000 instead of 1,000,000). This is because nearly all my customers are in France. (BTW adding a way to switch LOCALE in the interface would be nice for those of us who invoice people from several different countries.)
Which .php file would I actually edit?
Or is there another mechanism defined somewhere in the code to take care of this?
TIA
Doug McCarthy
Doug McCarthy, 2008/06/08 14:52
Sorry, got the email address wrong on my original post. So here it is again.
Hi,
I'm trying to localize the actual invoices not the interface, which I've already switched to French in the vain hope that it would change LOCALE as well.
In other words, I'd like to add setlocale(LC_MONETARY, 'fr_FR') and specify formatting to use the comma instead of the dot in money and spaces instead of commas in large numbers (e.g. 1 000 000 instead of 1,000,000). This is because nearly all my customers are in France. (BTW adding a way to switch LOCALE in the interface would be nice for those of us who invoice people from several different countries.)
Which .php file would I actually edit?
Or is there another mechanism defined somewhere in the code to take care of this?
TIA Doug McCarthy
Doug McCarthy, 2008/06/08 15:38
Hi again,
I'd ('also' if this appears as a reply to my previous question) like to add an invoice number field and define a counter to increment the number for every new invoice.
Any ideas?
TIA
Doug McCarthy
Doug McCarthy, 2008/06/08 15:47
Hi again,
I'd ('also' if this appears as a reply to my previous question) like to add an invoice number field and define a counter to increment the number for every new invoice.
re invoice number
- you can't use the normal Simple Invoices invoice number?
- there has been some work on this - there is a alternate Custom Fields section in work in progress where you can define any type of field you want - and one type is a special invoice number - not tied to mysql auto increment id thing
– but this is not ready for normal use just yet
Cheers
Justin
John, 2009/11/07 15:31
I need to store product stock .Example I buy 5 product from supplier. I sold 2 . Now I have 3 in stock.
Thanks for your nice product
justin, 2009/11/09 03:02
hey john
simple invoices doesn't yet do inventory - though wouldn't to hard to add this feature in the future
cheers
justin
frank pietruszewski, 2009/11/21 04:55
I'm running Fedora8, apache and php. I have plenty of php pages on my server. Upon loading SI I can bring up phpinfo.php, I can also see Credits.html and login.php. With or WOut login auth I see NO SI pages. Referring to latest version you offer.
Thanks for any help,
also post on the forum if your still having issues
cheers
justin
OMACOM, 2009/12/04 19:00
Hi i am a new user of Simple Invoices i tray to create 3 roles Admin, User, Viewer. but i find just Administrator..
Please Help me how to correct the roles
justin, 2010/01/04 02:40
hey omacom
theres a bug with the current Simple Invoices re roles - this will be fixed with the next release 2010.1
stay tuned to the blog
cheers
justin
Hugo Legorreta Moysen, 2009/12/18 09:41
How do I enable loggin into the system and user profiles (administrator, user, viewer)?
in the control panel the option of registration is enabled but I can not view or create new users with different roles.
user profiles are still a work in progress - ie. all profiles do the same thing
cheers
justin
Gandhi Pathik, 2010/01/11 12:08
When i m login the page redirect to invoice-manage page………
i want to change that.
and when i m login i redirect to Dashboard……
what to do for that…………..
justin, 2010/03/02 06:17
hey gandhi
do a search on the forum - there is code there on how to do this
cheers
justin
chandana, 2010/01/20 10:42
hello,
even i edited save.php with similar code,the values are inserting properly in si_invoices but custom_filed1 is not getting update it's giving an error msg-No database selected.
chandana, 2010/01/20 11:05
hello,
even i edited save.php with similar code,the values are inserting properly in si_invoices but custom_filed1 is not getting update it's giving an error msg-No database selected.
justin, 2010/03/02 06:29
hey chandana
post your code on the forum and i'll review
cheers
justin
carl, 2010/02/24 05:03
interesting project, but without a way to classify users as Administrator, User and Viewer, is limited too and is a real shame.
without that kind of configuration, you can not do much, it would be very interesting to be implemented.
Greetings.
justin, 2010/03/02 06:28
hey carl
user roles is a work in progress
cheers
justin
Rotexy, 2010/03/21 00:33
Hello Justin.
Just want to say a big thank you to you for making this project opensource. Without people like you it would have been very difficult for upstarts to do business. Please keep up the good work. And thanks again.
Rotimi
justin, 2010/05/31 07:52
thanks rotimi!!
jayaprakash, 2010/04/16 16:59
Hai,
i want to make changes in in new invoice istead of drop down box in customer name i want use text box if i entered name it will stored in database and retreive the customer name whare i should create... help me
justin, 2010/05/31 07:55
hey jayaprakash,
this is not possible at the moment
but.. you could just create a new invoice custom field called Customer Name and just fill it in manually
and create a dummy customer to select in the drop down
cheers
justin
Christopher Gamella, 2010/05/06 10:14
I was able to fully customize this Simple Invoices,
create new roles,
new extensions
Though I had to dig a bit on smarty which i had always dodged for years. This tool is a perfect starting point.
Thanks guys.
justin, 2010/05/31 07:53
hey chris
great to hear you could customise Simple Invoices
if you could post on the forum details of your work - sure it would benefit others
cheers
justin
Alex Anzola, 2010/07/26 13:34
We installed the program and it works perfectly, except when generating the PDF files. We get the error:
Fatal error: Class 'HTML2PS_XMLUtils' not found in /home2/macrocap/public_html/akademikas/invoices/library/pdf/xhtml.utils.inc.php on line 301
No idea if a file is missing or what.
yahoo, 2010/08/06 13:08
Waka Waka
wiki/faqs.txt · Last modified: 2010/08/06 13:13 by 122.181.3.98
Discussion
Hi,
I'm trying to localize the actual invoices not the interface, which I've already switched to French in the hope that it would change LOCALE as well.
In other words, I'd like to add setlocale(LC_MONETARY, 'fr_FR') and specify formatting to use the comma instead of the dot in money and spaces instead of commas in large numbers (e.g. 1 000 000 instead of 1,000,000). This is because nearly all my customers are in France. (BTW adding a way to switch LOCALE in the interface would be nice for those of us who invoice people from several different countries.)
Which .php file would I actually edit?
Or is there another mechanism defined somewhere in the code to take care of this?
TIA Doug McCarthy
Sorry, got the email address wrong on my original post. So here it is again.
Hi,
I'm trying to localize the actual invoices not the interface, which I've already switched to French in the vain hope that it would change LOCALE as well.
In other words, I'd like to add setlocale(LC_MONETARY, 'fr_FR') and specify formatting to use the comma instead of the dot in money and spaces instead of commas in large numbers (e.g. 1 000 000 instead of 1,000,000). This is because nearly all my customers are in France. (BTW adding a way to switch LOCALE in the interface would be nice for those of us who invoice people from several different countries.)
Which .php file would I actually edit?
Or is there another mechanism defined somewhere in the code to take care of this?
TIA Doug McCarthy
Hi again,
I'd ('also' if this appears as a reply to my previous question) like to add an invoice number field and define a counter to increment the number for every new invoice.
Any ideas?
TIA Doug McCarthy
Hi again,
I'd ('also' if this appears as a reply to my previous question) like to add an invoice number field and define a counter to increment the number for every new invoice.
Any ideas?
TIA Doug McCarthy
Hey Doug,
re LOCALE in invoices - currently the only way to get that is to use the Euro template – refer http://www.simpleinvoices.org/wiki/extensions#invoice_templates_styles - Simple Invoices doesnt haev a proper locale system yet
re invoice number - you can't use the normal Simple Invoices invoice number? - there has been some work on this - there is a alternate Custom Fields section in work in progress where you can define any type of field you want - and one type is a special invoice number - not tied to mysql auto increment id thing – but this is not ready for normal use just yet
Cheers
Justin
I need to store product stock .Example I buy 5 product from supplier. I sold 2 . Now I have 3 in stock.
Thanks for your nice product
hey john
simple invoices doesn't yet do inventory - though wouldn't to hard to add this feature in the future
cheers
justin
I'm running Fedora8, apache and php. I have plenty of php pages on my server. Upon loading SI I can bring up phpinfo.php, I can also see Credits.html and login.php. With or WOut login auth I see NO SI pages. Referring to latest version you offer. Thanks for any help,
hey frank
turn on error reporting and see if any useful info appears refer: how_to_display_php_errors_on_screen
also post on the forum if your still having issues
cheers
justin
Hi i am a new user of Simple Invoices i tray to create 3 roles Admin, User, Viewer. but i find just Administrator.. Please Help me how to correct the roles
hey omacom
theres a bug with the current Simple Invoices re roles - this will be fixed with the next release 2010.1
stay tuned to the blog
cheers
justin
How do I enable loggin into the system and user profiles (administrator, user, viewer)?
in the control panel the option of registration is enabled but I can not view or create new users with different roles.
hey huge
to enable login refer: how_do_i_enable_authentification_ie_a_login_system_in_simple_invoices
user profiles are still a work in progress - ie. all profiles do the same thing
cheers
justin
When i m login the page redirect to invoice-manage page………
i want to change that. and when i m login i redirect to Dashboard……
what to do for that…………..
hey gandhi
do a search on the forum - there is code there on how to do this
cheers
justin
hello,
even i edited save.php with similar code,the values are inserting properly in si_invoices but custom_filed1 is not getting update it's giving an error msg-No database selected.
hello,
even i edited save.php with similar code,the values are inserting properly in si_invoices but custom_filed1 is not getting update it's giving an error msg-No database selected.
hey chandana
post your code on the forum and i'll review
cheers
justin
interesting project, but without a way to classify users as Administrator, User and Viewer, is limited too and is a real shame.
without that kind of configuration, you can not do much, it would be very interesting to be implemented.
Greetings.
hey carl
user roles is a work in progress
cheers
justin
Hello Justin.
Just want to say a big thank you to you for making this project opensource. Without people like you it would have been very difficult for upstarts to do business. Please keep up the good work. And thanks again.
Rotimi
thanks rotimi!!
Hai,
hey jayaprakash,
this is not possible at the moment
but.. you could just create a new invoice custom field called Customer Name and just fill it in manually and create a dummy customer to select in the drop down
cheers
justin
I was able to fully customize this Simple Invoices,
create new roles,
new extensions
Though I had to dig a bit on smarty which i had always dodged for years. This tool is a perfect starting point.
Thanks guys.
hey chris
great to hear you could customise Simple Invoices
if you could post on the forum details of your work - sure it would benefit others
cheers
justin
We installed the program and it works perfectly, except when generating the PDF files. We get the error:
Fatal error: Class 'HTML2PS_XMLUtils' not found in /home2/macrocap/public_html/akademikas/invoices/library/pdf/xhtml.utils.inc.php on line 301
No idea if a file is missing or what.
Waka Waka