mainwindow.py edited online with Bitbucket

This commit is contained in:
Wilson Gómez 2021-01-16 14:27:12 +00:00
parent 9815df395b
commit 8598ab87ca

View file

@ -1524,7 +1524,8 @@ class MainWindow(FrontWindow):
self.set_state('add')
elif sale['state'] in ('confirmed', 'processing', 'done'):
self.table_sale_lines.setEnabled(False)
self.menu_dash.setDisabled(False)
if self.enviroment == 'restaurant':
self.menu_dash.setDisabled(False)
self.set_state('payment')
def set_change_amount(self):