Add hint to copy stock_article if price change desired in delivery process
This commit is contained in:
parent
5fcc14a36d
commit
ff1317b17b
4 changed files with 18 additions and 1 deletions
|
|
@ -25,4 +25,13 @@ module DeliveriesHelper
|
|||
return output.html_safe
|
||||
end
|
||||
|
||||
def stock_article_price_hint(stock_article)
|
||||
t('simple_form.hints.stock_article.edit_stock_article.price',
|
||||
:stock_article_copy_link => link_to(t('.copy_stock_article'),
|
||||
copy_stock_article_supplier_deliveries_path(@supplier, :old_stock_article_id => stock_article.id),
|
||||
:remote => true
|
||||
)
|
||||
)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue