Major supplier refactor making the whole system work better
This commit is contained in:
@@ -15,8 +15,9 @@ root.Qsupplier=
|
||||
list = order.get('list')
|
||||
list.get('orders').addRecord order
|
||||
if table = list.get('table')
|
||||
if table.get('active_list') isnt list
|
||||
table.set 'active_list', list
|
||||
if table.get('active_list')
|
||||
table.get('active_list').then (table_list)->
|
||||
table.set 'active_list', list if table_list isnt list
|
||||
, 200
|
||||
else if(e.event == 'list_needs_help')
|
||||
if Qsupplier.App and list = Qsupplier.App.List.findCached(e.data.id)
|
||||
|
||||
Reference in New Issue
Block a user