Free order_article resource from finance namespace; also unlock for role_orders
This commit is contained in:
parent
9ed906f425
commit
baa5f16cfc
18 changed files with 40 additions and 35 deletions
9
app/views/order_articles/update.js.erb
Normal file
9
app/views/order_articles/update.js.erb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// Publish database changes.
|
||||
// See publish/subscribe design pattern in /doc.
|
||||
$(document).trigger({
|
||||
type: 'OrderArticle#update',
|
||||
order_article_id: <%= @order_article.id %>
|
||||
});
|
||||
|
||||
$('#modalContainer').modal('hide');
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue