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