diff --git a/electron/changelog.json b/electron/changelog.json index f8599e8..b3d46ef 100644 --- a/electron/changelog.json +++ b/electron/changelog.json @@ -68,5 +68,10 @@ "title": "Release Notes for 1.0.22", "date": "05/20/2021", "notes": "New Features: \n- Added support Line Discounting\n- Ignored lines will now automatically reset when importing to ensure lines are not ignored when updated in place.\nBug Fixes: \n- Improved detection of $0 price items." + }, + "1.0.23": { + "title": "Release Notes for 1.0.23", + "date": "TBD", + "notes": "" } } diff --git a/electron/decoder/decoder.js b/electron/decoder/decoder.js index 2170c4f..19dbfee 100644 --- a/electron/decoder/decoder.js +++ b/electron/decoder/decoder.js @@ -431,16 +431,16 @@ async function DecodeLinFile(extensionlessFilePath) { //05/20 //We’ll have to apply a rule that will not count any A/M, Reman or new part price that is manually changed to $0.00. Only recycled parts that are changed to $0.00 can be counted towards RPS. // This is separate from $0.00 DB prices that need to be updated to the manually entered price. - // if ( - // jobline.part_type !== "PAL" && - // jobline.act_price === 0 && - // jobline.price_j - // ) { - // log.info( - // `Jobline '${jobline.line_desc}' ignored because it was manually changed to 0..` - // ); - // jobline.ignore = true; - // } + if ( + jobline.part_type !== "PAL" && + jobline.act_price === 0 && + jobline.price_j + ) { + log.info( + `Jobline '${jobline.line_desc}' ignored because it was manually changed to 0..` + ); + jobline.ignore = true; + } // if ( // !!jobline.db_price && diff --git a/package.json b/package.json index eed0b70..4b12ff9 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "ImEX RPS", "author": "ImEX Systems Inc. ", "description": "ImEX RPS", - "version": "1.0.22", + "version": "1.0.23", "main": "electron/main.js", "homepage": "./", "dependencies": {