File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
core/src/main/java/io/snabble/sdk Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22All notable changes to this project will be documented in this file.
33
4+ ## [ 0.33.9]
5+
6+ ### Fixed
7+ - Fixed incorrect display of units when processing line items from vPOS
8+
49## [ 0.33.8]
510
611### Fixed
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ allprojects {
2929 }
3030
3131 project. ext {
32- sdkVersion= ' 0.33.8 '
32+ sdkVersion= ' 0.33.9 '
3333 versionCode= 1
3434
3535 compileSdkVersion= 30
Original file line number Diff line number Diff line change @@ -678,7 +678,7 @@ public String getFullPriceText() {
678678 public String getPriceText () {
679679 if (lineItem != null ) {
680680 if (lineItem .price != 0 ) {
681- if (product != null && lineItem .amount > 1
681+ if (product != null && lineItem .units != null && lineItem . units > 1
682682 || (getUnit () != Unit .PRICE
683683 && (getUnit () != PIECE || scannedCode .getEmbeddedData () == 0 )
684684 && getEffectiveQuantity () > 1 )) {
You can’t perform that action at this time.
0 commit comments