Change supplier_id of stock orders to NULL
This commit is contained in:
parent
aa44291b69
commit
5f60844a13
4 changed files with 16 additions and 5 deletions
|
|
@ -39,7 +39,7 @@
|
|||
%li= link_to t('.toggle_unavailable'), "#", 'data-toggle-this' => 'tr.unavailable', tabindex: -1
|
||||
|
||||
.btn-group
|
||||
= link_to_if @current_user.role_orders?, t('.order_online'), new_order_path(supplier_id: 0),
|
||||
= link_to_if @current_user.role_orders?, t('.order_online'), new_order_path(supplier_id: nil),
|
||||
class: 'btn', class: 'btn btn-primary'
|
||||
= link_to t('.new_stock_article'), new_stock_article_path, remote: true, class: 'btn'
|
||||
= link_to t('.new_stock_taking'), new_stock_taking_path, class: 'btn'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue