add bnn_upload plugin that overrides some controller methods to use order_bnn
This commit is contained in:
parent
f8c91b46cd
commit
b1ec0fd2fc
12 changed files with 70 additions and 27 deletions
|
|
@ -1,5 +1,3 @@
|
|||
/ replace '#send_button'
|
||||
/ replace 'erb:contains("send_to_supplier")'
|
||||
- if FoodsoftBnnUpload.enabled?
|
||||
= link_to t('.send_to_supplier'), send_result_to_supplier_modal_order_path(@order), remote: true,
|
||||
class: "btn#{' btn-primary',
|
||||
data: {confirm: @order.last_sent_mail && t('.confirm_send_to_supplier', when: format_time(@order.last_sent_mail)) }
|
||||
= link_to t('.send_to_supplier'), order_send_result_to_supplier_modal_path(@order), class: 'btn btn-primary', remote: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue