auto settlement and settlement receipt fixed

This commit is contained in:
moon 2026-07-20 22:07:50 +06:30
parent 0c2ae391c3
commit 152833ed4e
4 changed files with 9 additions and 5 deletions

View File

@ -30,6 +30,8 @@ android {
applicationId "com.utsmm.kbz.sit"
versionNameSuffix "-sit"
resValue "string", "app_name", "KBZ-SIT"
versionCode 31
versionName "2.11"
}
uat {
@ -37,6 +39,8 @@ android {
applicationId "com.utsmm.kbz.uat"
versionNameSuffix "-uat"
resValue "string", "app_name", "KBZ-UAT"
versionCode 44
versionName "2.39"
}
prod {
@ -44,6 +48,8 @@ android {
applicationId "com.utsmm.kbz"
versionNameSuffix ""
resValue "string", "app_name", "KBZ-POS"
versionCode 6
versionName "2.3.1"
}
}

View File

@ -46,7 +46,7 @@ public class AutoSettleService extends Service {
.setContentTitle("Auto Settlement Active")
.setContentText("Processing scheduled settlement...")
.setPriority(NotificationCompat.PRIORITY_LOW)
.setOngoing(true)
.setOngoing(false)
.setAutoCancel(false);
startForeground(1002, builder.build());

View File

@ -414,5 +414,3 @@ public class EReceiptUtil {
return "E";
}
}

View File

@ -460,7 +460,7 @@ public class TMSSetupsImpl implements TMSSetups{
SystemParamsOperation.getInstance().setRandomPinPad(parseBoolean(data));
} else if (TextUtils.equals(name,"clear_batch_time")) {
SystemParamsOperation.getInstance().setClearBatchTime("00:00");
SystemParamsOperation.getInstance().setClearBatchTime("22:00");
} else if (TextUtils.equals(name,"alert_sound_enable")) {
SystemParamsOperation.getInstance().setAlertSound(parseBoolean(data));