FIX ASSIGN TABLE
This commit is contained in:
parent
b28f35bd26
commit
eaa85eb47e
|
@ -3375,8 +3375,12 @@ class AppWindow(FrontWindow):
|
|||
'state': 'available',
|
||||
'sale': None,
|
||||
}
|
||||
self.RestTables.write([current_table['id']], to_drop)
|
||||
to_drop['id'] = current_table['id']
|
||||
if isinstance(current_table, int):
|
||||
self.RestTables.write([current_table], to_drop)
|
||||
to_drop['id'] = current_table
|
||||
elif isinstance(current_table, dict):
|
||||
self.RestTables.write([current_table['id']], to_drop)
|
||||
to_drop['id'] = current_table['id']
|
||||
|
||||
vals = {
|
||||
'table_assigned': {
|
||||
|
|
Loading…
Reference in New Issue