hide receive screen for stock orders
This commit is contained in:
parent
aa6041d337
commit
41ea9ed66e
3 changed files with 8 additions and 4 deletions
|
|
@ -53,8 +53,9 @@
|
|||
%td= format_time(order.ends)
|
||||
%td= truncate(order.note)
|
||||
%td
|
||||
-# TODO btn-success class only if not received before
|
||||
= link_to t('.action_receive'), receive_order_path(order), class: 'btn btn-small btn-success'
|
||||
- unless order.stockit?
|
||||
-# TODO btn-success class only if not received before
|
||||
= link_to t('.action_receive'), receive_order_path(order), class: 'btn btn-small btn-success'
|
||||
|
||||
%td
|
||||
= link_to t('ui.edit'), '#', class: 'btn btn-small disabled', tabindex: -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue