wip plugin
This commit is contained in:
parent
f9229034de
commit
f8c91b46cd
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
/ replace 'erb:contains("send_result_to_supplier")'
|
||||
/ replace '#send_button'
|
||||
- if FoodsoftBnnUpload.enabled?
|
||||
- raise
|
||||
= link_to t('.send_to_supplier'), send_result_to_supplier_modal_order_path(@order), remote: true,
|
||||
class: "btn#{' btn-primary' unless @order.last_sent_mail}",
|
||||
class: "btn#{' btn-primary',
|
||||
data: {confirm: @order.last_sent_mail && t('.confirm_send_to_supplier', when: format_time(@order.last_sent_mail)) }
|
|
@ -1,3 +1,4 @@
|
|||
require "deface"
|
||||
require 'foodsoft_bnn_upload/engine'
|
||||
|
||||
module FoodsoftBnnUpload
|
||||
|
|
Loading…
Reference in a new issue