Presentation is loading. Please wait.

Presentation is loading. Please wait.

E-Invoice System CS541 Database Systems Class Project By: Parul Gupta.

Similar presentations


Presentation on theme: "E-Invoice System CS541 Database Systems Class Project By: Parul Gupta."— Presentation transcript:

1 E-Invoice System CS541 Database Systems Class Project By: Parul Gupta

2 Overview 1CS541: Database Systems Web based system developed using PHP( a scripting language to manipulate the infor- mation stored in a database and to generate the dynamic web pages) and MySQL. Billing system for a company with small sales volume to help in maintaining the records of products, customers and sales.

3 Overview contd... FEATURES: – Create invoices in a quick and easy manner. – Provides option to apply discount on individual items, and calculates sales tax automatically. – Quick search for past invoices, create report. – In addition to creating invoices, also helps in maintaining the Product and Customer Lists. 3CS541: Database Systems

4 Database Schema 4CS541: Database Systems Items: Clients: P_CodeNamePriceQuantityDescriptionAdd_Date NamePhone_ No Company_ Name Shipping_ Address Billing_ Address EmailFax

5 Database Schema contd… 5CS541: Database Systems Orders: OrderItemlines: Invoice_ No Invoice_ Date Due_DateOrder_NoClient_ Name Client_ Phone L_CodeInvoice_NoP_CodeQuantityDiscountNote ShipviaPO#Credit_CardnoCredit_3digitCredit_Exdate

6 PHP Functions mysql_connect( ): Open a connection to a MySQL Server mysql_select_db( ): Select a MySQL database mysql_query( ) : Send a MySQL query mysql_fetch_array(result): Returns a row from a recordset as an array mysql_num_rows(result): Returns the number of rows in a recordset mysql_real_escape_string( ): This function escapes special characters in a string for use in an SQL statement CS541: Database Systems6

7 Main Screen Layout: CS541: Database Systems7

8 8

9 9

10 Future work Generate sales report based on items, customer, daily, monthly and yearly sales. Ability to print and email the invoice to customer. CS541: Database Systems10

11 References http:// www.forperfect.com/cinvoice/ http://www.nstarsolutions.com/sis/(Snappy Invoice system) http:// www.w3schools.com/php/php_mysql_intro.asp http:// www.phpf1.com/tutorial/php-mysql-tutorial.html http:// http://www.php.net/manual/en/ http://www.php.net/manual/en/ http:// www.glassybuttons.com http://www/960.gs CS541: Database Systems11


Download ppt "E-Invoice System CS541 Database Systems Class Project By: Parul Gupta."

Similar presentations


Ads by Google