starting
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user