-
Notifications
You must be signed in to change notification settings - Fork 0
Warranty Creation
David Roon edited this page Dec 26, 2016
·
1 revision
This is a form where the retailer register a warranty request for a product:
- insurance (list of the insurances the retailer registered to, comes from getRegisteredInsurances())
- Product Manufacturer
- Product Name
- Product Serial Number
- Price (paid by the customer)
- Start date
- End date
The warranty price is calculated by calling the smart contract and the value should be displayed. The value can be calculated only if Price, start date and end date are given.
All fields are mandatory
the function "createExtendedWarranty" will call the smart contract and pass all the values from the form as parameters.