瀏覽代碼

add auto take cash function

abiao 4 年之前
父節點
當前提交
bb6cfd6190
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/models/order_detail.rb

+ 1 - 0
app/models/order_detail.rb

@@ -70,6 +70,7 @@ class OrderDetail < ActiveRecord::Base
         end
       end
       field :paid_time do
+        filterable true
         formatted_value do
           bindings[:object].order.paied_time
           # (bindings[:object].order.paied_at == 0 || bindings[:object].order.paied_at == nil) ? Time.at(0) : Time.at(bindings[:object].order.paied_at)