For 'Simple invoices database backup' to work the first step is to make the database_backups directory(which is in the Simple Invoices directory writeable by the webserver
To do this the in unix cd to the Simple Invoices directory (cd /var/www/html/simpleinvoices) and chown the database_backups directory to the apache(web server) user (chown apache:apache database_backups), in windows just browse to the database_backups folder and make sure its writeable by all users.
Simple Invoices has a login system which can allow you to protect your Simple Invoices with a username and password login system. By default this is turned off.
To turn on the login system in Simple Invoices all you have to do is
Open the config/config.php file and change the line $authenticationOn = “false” to $authenticationOn = “true”
Done :), now just open up Simple Invoices and it should redirect you to a login page
Note: the default username = demo@simpleinvoices.org and password = demo
To upgrade Simple Invoices from one version to another, the first step is to download the updated version of Simple Invoices from our website
The next step is to backup (make a copy) of your config.php file which is located in the config folder
Once this file has been backed up, extract (unzip) the contents of the Simple Invoices file which you downloaded into the simpleinvoices directory in your webservers document root
open up the config.php file thats in the config directory and enter you database details (db_host, $db_name, $db_user and $db_password) into the file and save it
Now that most of the work has been done open up Simple Invoices in your browser (usually
http://localhost/simpleinvoices) and from the Options menu in Simple Invoices select Database Upgrade Manager
The first steps in using Simple Invoices is to setup the base information, that is billers, customers, products, tax rates, and invoice preferences
Add customer
In the main page click on the Insert Customerr button
Once in the Insert Customer screen fill in the required fileds and click the Insert Customer button
Now when you create an Invoice you will be able to select this customer
Add product
A product can be any item that you wish to appear in the Itemised Invoice. It can be anything you wish to sell and invoice - physical item ie. light bulbs or services such as an accounting service charge per hour/PC repairs/etc…
Note that products are only available when you create an Itemised Invoice
In the main page click on the Insert Product button
Once in the Insert Product screen fill in the required fileds and click the Insert Product button
Now when you create an Itemised Invoice you will be able to select this product
The basics
Now that Simple Invoices has been installed and setup will all the required information, you can start to do some invoices :)
-
To create an invoice, in the main page click on the style of invoice you wish to create, Invoice - Total or Invoice - Itemised
A Total Invoice is an invoice that - think an invoice from a plumber that lists the actions and then has one price and the tax assocaited
An Itemised Invoice is an invoice that list many different items in the same invoice - think a grocery store invoice
A Consulting Invoice is an invoice that is similar to the intemised style except that with each line item there is a detail description of the work performed/product sold - think accounting/legal firms invoices
Once in the create invoice screen, select a biller, select a customer.
If creating a Total Invoice, enter the description of the invoice, the total of the invoice, the tax rate, and the invoice preference and click Submit Invoice
If creating an Itemised Invoice, enter the quantity of the items, select the product, the tax rate, and the invoice preference and click Submit Invoice
Your invoice will now be created and you'll be presented with a Quick View of the invoice.
A Quick View is a view of the invoice while your still in Simple Invoice, it allows you to see the invoice and perform actions on it. ie. Print View the invoice, email the invoice,
PDF the invoice, etc..
Now that your in the Quick View of the invoice you just created you can choose from the list of action what you want to do with it
If you select the Print View of the invoice it bring up a view of the invoice on a clear white background - suitable for printing
Once you created and printed the invoice you can go back to the Manage Invoices screen to view/action of invoices or create more
Enjoy :)
Biller Logos
Simple Invoices allows for each biller to have their own logo displayed in the Print Preview of their invoices.
To add a logo to a biller the first step is to upload your billers logo into the logo folder into Simple Invoices directory on your system
Once the logo has been uploaded the last step is to go into the Manage Billers page and edit the biller in question and in the field 'Biller logo' select the name of the logo your just uploaded and select save
Now when you to a Print Preview of any of that billers invoices their logo will be displayed
Invoice Templates
An Invoice Template is the template that Simple Invoices will use to create the Print Preview of the invoice
To choose which Invoice Template your Simple Invoices will use go to the Options menu and select System Defaults
In the System Default page to tell which Invoice Template your system is using look at the 'Default invoice template:' field and that will be the default thats currently used
If you wish to change what Invoice Template is the default for your Simple Invoices click the edit button next to 'Default invoice template:' and from the drop down menu select another template to use and click save
Now when you do a Print Preview of an invoice it will use this new Invoice Template
System Defaults
In Simple Invoices its possible to setup defaults of various values that the system will use by default, these default values can be defined in the System Defaults page which is available from the Option menu
In the System Defaults page the following values can be set as default:
Default biller - this defines when creating a new invoice what the default(already selected from the drop down list) biller
Default customer - this defines when creating a new invoice what the default(already selected from the drop down list) customer
Default tax rate - this defines when creating a new invoice what the default(already selected from the drop down list) tax rate
Default invoice preferences - this defines when creating a new invoice what the default(already selected from the drop down list) invoice preference
Default number of line items - this defines the default number of line items in an itemised and consulting invoice
Default invoice template - this defines the default invoice template that gets used to create the Print Preview
Simple Invoices is a basic invoicing system designed with simplicity and functionality in mind. Catering for the neds of small organisations and home users. For more information please refer to the Simple Invoices website http://www.simpleinvoices.org
Once you've got Simple Invoices installed on your system (refer Installation documentation for more info) all you need to do is enter a Biller ( this is normally you or your organisation) details, a Customer (the person your are invoicing).
Once these 2 pieces of information have been entered you can now start creating invoices.
Note: If you are creating invoices based on products sales( ie a computer store) you will also need to enter some products into Simple Invoices
Discussion
Hi
Am a 'rank beginner' with no knowledge of PHP etc, and have tried to follow the steps to install SI. However, it just doesn't seem to work, and I need some advice on where I'm going wrong. I use a MacBook Pro, with Mac OS X 10.5.5
1.. I downloaded MAMP and installed it fine. It is working OK.
2.. I downloaded the simpleinvoices…zip file and extracted the simpleinvoices folder to my webservers document root.
3.. I changed the Apache document root address for MAMP using the MAMP preferences dashboard, to the same directory (i.e. /library/webserver/documents).
4.. I used phpMyAdmin to create a new database titled simple_invoices, as instructed. I then used the “import” feature on phpMyAdmin to import the simpleinvoices.sql file that I'd downloaded (in the zip file). This went OK.
5.. I notice that phpMyAdmin creates this database in the following directory - /MAMP/db/mysql…
6.. I modified the config.php file in /simpleinvoices/config as instructed. I left the name of the database server as 'localhost'. Pls see (5) above…. does this mean I have to move the simple_invoices database to /library/webserver/documents???
7.. I don't know how to do the chown or chmod steps…. terminal? Anyway, I used Mac's Ctrl-I option to ensure that simpleinvoices directory is “read and write” by me (ie. admin user of computer).
8.. After this, I wanted to test the thing… so I typed “http://localhost/simpleinvoices” into my browser. I get a page with a list of all the files in the directory. Incidentally, next to all the ”.php” files there is a question mark.
9.. To test php GD status, I typed “http://localhost/simpleinvoices/phpinfo.php” into my browser window, and it displays the file as if in a text editor (i.e. starting with the line ”<?php” then /* * Script: quick_view.tpl * Show the servers PHP settings” and so on).
Please advise me on what I've done wrong?
I've seen the demo of SI, and it is really exciting with great features for an individual consultant like me to manage invoices … but need your help in setting it up!!!
Thanks in advance for the help.
Anand
Thanks Anand,
I'll reply to this question via your post in the forum
http://simpleinvoices.org/forum/discussion/623/installation-woes/
Cheers
Justin