Refactor and implement order buttons on supplier list view

This commit is contained in:
2015-02-22 10:03:53 +01:00
parent 0ccfe07e13
commit 755690131c
24 changed files with 40 additions and 171 deletions
@@ -3,7 +3,7 @@ ul#table-actions-list
- if @list
- if @list.needs_help?
li
button.btn.btn-info.btn-small class="of-list-#{@list.id}" id="list-is-helped-button-#{@list.id}" onclick="Qsupplier.mark_list_as_helped('#{@list.id}')" data-t="list.is_helped_button"
button.btn.btn-info.btn-small class="of-list-#{@list.id}" id="list-is-helped-button-#{@list.id}" onclick="Qsupplier.mark-list-as-helped-button('#{@list.id}')" data-t="list.is_helped_button"
button.btn.btn-warning.btn-small class="of-list-#{@list.id}" onclick="Qsupplier.close_list('#{@list.id}')" data-t="list.close_list"
li
a data-t='section.tables_view.table_actions.got_to_table' href=suppliers_table_path(@table)