products quantity check by active job
This commit is contained in:
parent
b6f889365d
commit
7204886354
|
|
@ -21,6 +21,7 @@ module PsAdmin
|
||||||
@sc_setting.shop_active = params[:value]
|
@sc_setting.shop_active = params[:value]
|
||||||
elsif params[:name] == 'chk_quantity_global'
|
elsif params[:name] == 'chk_quantity_global'
|
||||||
@sc_setting.chk_quantity_global = params[:value]
|
@sc_setting.chk_quantity_global = params[:value]
|
||||||
|
ProductsQuantityCheckChangeJob.perform_later params[:value]
|
||||||
end
|
end
|
||||||
if @sc_setting.save
|
if @sc_setting.save
|
||||||
head :ok
|
head :ok
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue