This commit is contained in:
2024-08-24 11:34:51 +01:00
parent 3b6829e181
commit 4a77297e23
2 changed files with 7 additions and 6 deletions
@@ -78,7 +78,7 @@ public class JTicketsBagShared extends JTicketsBag {
log.debug("Loading Sales screen! "+this.getClass());
SwingWorker<String, String> reloadLayaway = new SwingWorker<>() {
SwingWorker<String, String> reloadLayaway = new SwingWorker() {
@Override
protected String doInBackground() throws Exception {
while (true) {
@@ -128,7 +128,7 @@ public class JTicketsBagShared extends JTicketsBag {
m_App.getAppUserView().getUser().getName(),
"Void",
"Ticket Deleted",
0.0
(Object) 0.0
});
m_sCurrentTicket = null;
@@ -226,7 +226,7 @@ public class JTicketsBagShared extends JTicketsBag {
m_jListTickets.setText("");
newTicket();
} else {
showList = m_App.getAppUserView().getUser().hasPermission("sales.ShowList");
showList = (Boolean) m_App.getAppUserView().getUser().hasPermission("sales.ShowList");
if (showList) {
m_jListTickets.doClick();
}