Class

ManualEntry

ManualEntry()

Apart from being able to scan a barcode with the app, as an alternative, This module allow user to enter the barcode number or MIN of a product in order to submit the product for an online return.

Constructor

# new ManualEntry()

View Source honeywellScanner/ManualEntry.tsx, line 13

Members

# SubmitProduct

This function checks if entered input is barcode or min , And entry is present in returns data If entry is present then push data with returnId in new table and entry is not present then it makes that product invalid and pushes data without return id. After storing it clears repective field and redirects to view barcode list page.

View Source honeywellScanner/ManualEntry.tsx, line 121

Methods

# SubmitProduct()

This function checks if entered input is barcode or min , And entry is present in returns data If entry is present then push data with returnId in new table and entry is not present then it makes that product invalid and pushes data without return id. After storing it clears repective field and redirects to view barcode list page.

View Source honeywellScanner/ManualEntry.tsx, line 38