wip plugin

This commit is contained in:
viehlieb 2023-02-17 15:31:36 +01:00
parent f9229034de
commit f8c91b46cd
2 changed files with 3 additions and 3 deletions

View file

@ -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)) }

View file

@ -1,3 +1,4 @@
require "deface"
require 'foodsoft_bnn_upload/engine'
module FoodsoftBnnUpload