spree-contrib / spree_drop_ship

Spree Drop Shipping Extension
BSD 3-Clause "New" or "Revised" License
104 stars 120 forks source link

display_tax_total error while viewing drop_ship orders #10

Closed simonhildebrandt closed 11 years ago

simonhildebrandt commented 11 years ago

While trying out spree_drop_ship I tried to view a new drop_ship order in the admin area:

/admin/drop_ship_orders/1/edit

...provoked the following exception:

undefined method `display_tax_total' for #<Spree::DropShipOrder

(from the spree_backend (2.0.1) gem, app/views/spree/admin/shared/_order_tabs.html.erb template.)

The Spree::Order model has this method, and I could easily add it to the Spree::DropShipOrder model, I'm just wondering - am I missing something? Has this previously been obscured by some other change I don't have in place?

JDutil commented 11 years ago

No just forgot to add it since I'm just barely working on implementing tax for the application right now so had not run into it yet.

simonhildebrandt commented 11 years ago

Ah, cool.