Use tabs and try to sort the view by days until sold out
This commit is contained in:
parent
99c7ff1b4b
commit
ed89932440
|
@ -62,7 +62,7 @@ module Spree
|
||||||
forecast.push(generate_estimate(var))
|
forecast.push(generate_estimate(var))
|
||||||
}
|
}
|
||||||
|
|
||||||
forecast
|
forecast.sort { |x,y| x['days'] <=> y['days'] }
|
||||||
end
|
end
|
||||||
|
|
||||||
def stock_report_email()
|
def stock_report_email()
|
||||||
|
|
Loading…
Reference in New Issue