瀏覽代碼

Quick fix

Jacqueline Maldonado 7 年之前
父節點
當前提交
36eefdf476
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/datatables/stock_by_pointsale_datatable.rb

+ 1 - 1
app/datatables/stock_by_pointsale_datatable.rb

@@ -43,7 +43,7 @@ class StockByPointsaleDatatable
           available.stock_max.round,
           available.stock.round
         ]
-        arr += get_price_sale(available.product) unless @current_user.usertype == "S"
+        arr << get_price_sale(available.product) unless @current_user.usertype == "S"
         arr.compact
       end
     end