abiao лет назад: 4
Родитель
Сommit
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