Computer science
The goal is to be able to process the order(s) placed by the customer. There should be an
inventory database maintained by the company’s personnel. When the order is received,
the inventory is checked to determine if the order can be filled. The invoice of successful
order will be displayed. The inventory should be automatically updated so subsequent
order can be filled correctly.
Tasks:
a) Create HTML page for the company’s staff to enter the following information
about the products in the inventory
i. the names
ii. the quantities
iii. the cost
b) The inventory data should be written to a text file
c) Create HTML page for the customer(s) to place the order
i. Calculate and output the invoice
ii. Update the inventory after each transaction (written back to the text file)
iii. Display appropriate message if the order cannot be filled