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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user