5.3.1 release (#36)

* UOCL-265: Spanish translation improvements

* UOCL-246: Reprint receipt fix

* UOCL-246: Reprint receipt fix

* UOCL-246: reprint receipt

* UOCL-283: Porting ZATCA QR-code!

* UOCL-283: Porting ZATCA QR-code!

* UOCL-246: reprint receipt

* UOCL-274: Top 10 sales rpt fix

* UOCL-274: Top 10 sales rpt fix

* 5.3.1 release
This commit is contained in:
hugh-unicenta
2024-05-20 17:03:58 +01:00
committed by GitHub
parent 63bdae5ca4
commit 33ab53f520
16 changed files with 685 additions and 417 deletions
@@ -228,7 +228,7 @@ public class AppConfig implements AppProperties {
}
private void refreshProperties() {
private void pullLatestProperties() {
try {
InputStream in = new FileInputStream(configfile);
if (in != null) {
@@ -252,9 +252,11 @@ public class AppConfig implements AppProperties {
}
}
public void saveWithExistingProperties() throws IOException {
public void setLastTicket(String lastTicketNumber, String lastTicketType) throws IOException {
refreshProperties();
pullLatestProperties();
properties.setProperty("lastticket.number", lastTicketNumber);
properties.setProperty("lastticket.type", lastTicketType);
OutputStream out = new FileOutputStream(configfile);
if (out != null) {
@@ -30,7 +30,7 @@ public class AppLocal {
public static final String APP_NAME = "uniCenta oPOS";
public static final String APP_ID = "unicentaopos";
public static final String APP_VERSION = "5.3";
public static final String APP_VERSION = "5.3.1";
private static final LocaleResources m_resources;