2 pages web application, for data entry and a price/value calculation. pdf output of the calculation page will be created.
## Deliverables
page 1 is to enter material values and data. these data (material 1, material2 and date) can be stored in database or in a xml file, since only latest entered data will be used for calculation.
page 2 is for calculation of unit prices and auto-calculation of entered values within the page, with ajax.
this page uses database entries to aggregate material code, description and price calculation. price calculation will be made with actual material prices (which are entered in page1). user may enter weight data, amount for that particular item will be calculated immediately with javascript or php. last line is total of all values.
generate pdf button will generate an A4 paper of page2 to download. this is order form. however if weight is 0 in calculation, that product won't appear in pdf.
all form inputs shall be validated (number, date).