Explorar o código

Merge branch 'apply_rubocop' of SML/pos-boutique into master

Jacque %!s(int64=7) %!d(string=hai) anos
pai
achega
bdaff8e75f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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