abiao лет назад: 3
Родитель
Сommit
a3335ea259
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/models/order.rb

+ 2 - 2
app/models/order.rb

@@ -179,8 +179,8 @@ class Order < ActiveRecord::Base
     end
 
     def paied_silver_format
-        paied_silver__f = self.paied_silver_!=0 ? ((self.paied_silver_)/100.0) :0
-        return paied_silver__f.to_s
+        paied_silver_f = self.paied_silver!=0 ? ((self.paied_silver)/100.0) :0
+        return paied_silver_f.to_s
     end
 
     def dis_amount_format