Skip to content

Commit

Permalink
Adjust admin withdraws table header
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlion committed Mar 27, 2014
1 parent a32e06f commit f253f73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/grids/withdraws_grid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class WithdrawsGrid
order('created_at asc, state desc')
end

self.default_column_options = { :order => false }
#self.default_column_options = { :order => false }

filter(:channel, :enum, select: WithdrawChannel.all.map{|w| [w.key, w.id]}) do |channel, scope|
scope.with_channel(channel) if channel
Expand All @@ -26,7 +26,7 @@ class WithdrawsGrid
column :channel do |w|
w.channel.key
end
column :fund_extra
column :fund_extra, order: false
column :sum
column :state_text
column :position_in_queue do |o|
Expand Down
3 changes: 2 additions & 1 deletion config/locales/datagrids/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ zh-CN:
address_label: 标签
address_type_text: 方式
amount: 实到金额
sum: ''
sum: 金额
fund_uid: ''
fund_extra: ''
fee: 手续费
created_at: 申请时间
done_at: 完成时间
Expand Down

0 comments on commit f253f73

Please sign in to comment.