show message when ignoring articles due to missing order number
This commit is contained in:
parent
49e563af89
commit
d08f120b27
3 changed files with 6 additions and 0 deletions
|
|
@ -227,6 +227,7 @@ class ArticlesController < ApplicationController
|
|||
if @updated_articles.empty? && @outlisted_articles.empty?
|
||||
redirect_to supplier_articles_path(@supplier), :notice => I18n.t('articles.controller.sync.notice')
|
||||
end
|
||||
@ignored_article_count = @supplier.articles.where(order_number: [nil, '']).count
|
||||
end
|
||||
|
||||
# Updates, deletes articles when sync form is submitted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue