make settle directly less dangerous
(closes foodcoops#275)
This commit is contained in:
parent
ea8e4ee560
commit
852f3484ad
5 changed files with 18 additions and 12 deletions
|
|
@ -21,11 +21,9 @@
|
|||
- unless order.closed?
|
||||
- if current_user.role_orders?
|
||||
- unless order.stockit?
|
||||
= link_to t('orders.index.action_receive'), receive_order_path(order), class: 'btn btn-mini'
|
||||
= link_to t('orders.index.action_receive'), receive_order_path(order), class: 'btn btn-small'
|
||||
- else
|
||||
= link_to t('orders.index.action_receive'), '#', class: 'btn btn-mini disabled'
|
||||
= link_to t('.clear'), new_finance_order_path(order_id: order.id), class: 'btn btn-mini btn-primary'
|
||||
= link_to t('.close'), close_direct_finance_order_path(order),
|
||||
:data => {:confirm => t('.confirm')}, :method => :patch, class: 'btn btn-mini'
|
||||
= link_to t('orders.index.action_receive'), '#', class: 'btn btn-small disabled'
|
||||
= link_to t('.clear'), new_finance_order_path(order_id: order.id), class: 'btn btn-small btn-primary'
|
||||
- else
|
||||
%i= t('.no_closed_orders')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue