소스 검색

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

Jacque 7 년 전
부모
커밋
bdaff8e75f
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