My company provides safety training to individuals and business. Courses include CPR, first aid, among others. This project involves a php script to be designed to automate my quote request system for businesses to include invoicing and online payment.
The script will take in the following input:
- adult cpr needed?
- child cpr needed?
- infant cpr needed?
- aed training needed?
- first aid needed?
- bloodborne pathogens training needed?
- emergency oxygen training needed?
- number of people to be trained.
- number of books to be issued.
This input will be fed into a simple formula to determine a final cost.
If the customer accepts the quote, a simple invoice will be automatically generated. The invoice will only consist of a basic list of the inputted information, quoted cost, my company logo, list of terms and a graphic of my signature. The invoice will be displayed on-screen for the customer to print. The invoice will not be saved.
A MySQL database will be created which will *only* contain the dates the instructor is available for training. Upon acceptance of the quote, the script will display the dates that the instructor is available. The script will prompt for the date to be set, upon which time the date will be removed from the database of available training dates.
After the quote is determined and accepted, and the date is chosen, the script will then present payment options. The customer can choose to mail a check or may pay immediately via PayPal with a 5% discount.
The entire quote and all other information will be emailed to the instructors email address. No information on customers will be saved in any database.