mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-02 14:24:27 -04:00
- Rollback transaction on failure before returning false - Rollback transaction and return 0 on failure to save attribute link. - Account for '0' being an acceptable TEXT or DECIMAL attributeValue. - Add transaction to storeCSVAttributeValue function to prevent deleting the attribute links before confirming the new value successfully saved. - Exclude the itemId in the check to see if the barcode number exists - Add error checking to failed row insert - Fail the import if an invalid stock location is found in the CSV - Reworked &= to && logic so that it short-circuits the function call after if success is already false. - Added logic to not ignore failed saveItemAttributes calls Signed-off-by: objec <objecttothis@gmail.com>
55 KiB
55 KiB