-- add parseInt in checking actual quantity in incoming form