abiao 4 년 전
부모
커밋
10295452ce
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      app/models/cash_balance.rb

+ 3 - 1
app/models/cash_balance.rb

@@ -93,7 +93,9 @@ class CashBalance < ActiveRecord::Base
 
       field :get_happen_total do
         visible true
-        bindings[:object].get_happen_total
+        formatted_value do
+          bindings[:object].get_happen_total
+        end
       end
     end