狂欢邮件不显示总价和小计价,可能是无效值?

时间:2013-04-14 19:55:02

标签: ruby-on-rails ruby spree

施普雷在订单确认电子邮件中不显示小计和总价。 但是,它会在网站的订单列表中正确显示。

 => #<Spree::Order id: 5, number: "R816268161", item_total: #<BigDecimal:c1e72e0,'0.7E4',9(18)>, total: #<BigDecimal:c1e7204,'0.819E4',9(18)>, state: "complete", adjustment_total: #<BigDecimal:c1e7060,'0.119E4',9(18)>, user_id: 1, completed_at: "2013-04-14 13:23:20", bill_address_id: 3, ship_address_id: 4, payment_total: #<BigDecimal:c1e67f0,'0.0',9(18)>, shipping_method_id: 1, shipment_state: "pending", payment_state: "balance_due", email: "my email was here", special_instructions: nil, created_at: "2013-04-14 12:54:32", updated_at: "2013-04-14 13:23:20", currency: "HUF", last_ip_address: "78.92.236.239"> 

它显示的总值为“BigDecimal”,它应该是这样的吗?

0 个答案:

没有答案