Finish HotfixSaporiVeri

This commit is contained in:
Giuseppe Scorrano 2019-07-31 16:46:54 +02:00
commit b227d8f6ed
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -17,8 +17,8 @@ apply plugin: 'com.google.gms.google-services'
android {
def appVersionCode = 74
def appVersionName = '1.6.13'
def appVersionCode = 75
def appVersionName = '1.6.14'
signingConfigs {
release {

View File

@ -1318,7 +1318,7 @@ public class VenditaOrdineInevasoViewModel implements IOnColloClosedCallback, IO
qtaDto.setNumCnf(ean128Model.Count);
}
if (ean128Model.NetWeightKg != null && ean128Model.NetWeightKg > 0) {
if (ean128Model.NetWeightKg != null && ean128Model.NetWeightKg > 0 && !mtbAart.isFlagQtaCnfFissa()) {
qtaDto.setQtaTot(new BigDecimal(ean128Model.NetWeightKg));
} else {
qtaDto.setQtaTot(qtaDto.getQtaCnf().multiply(new BigDecimal(qtaDto.getNumCnf())));