allow to edit GroupOrderArticle result from orders screen
Conflicts: app/assets/javascripts/application.js
This commit is contained in:
parent
f9d2c20aaa
commit
60826ceedc
34 changed files with 393 additions and 220 deletions
8
app/views/group_order_articles/update.js.erb
Normal file
8
app/views/group_order_articles/update.js.erb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// and trigger hooks for views including this
|
||||
$(document).trigger({
|
||||
type: 'GroupOrderArticle#update',
|
||||
order_article_id: <%= @group_order_article.order_article_id %>,
|
||||
group_order_id: <%= @group_order_article.group_order_id %>,
|
||||
group_order_article_id: <%= @group_order_article.id %>,
|
||||
group_order_article_price: <%= @group_order_article.total_price %>
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue