Fix for http://railsdog.lighthouseapp.com/projects/31096-spree/tickets/1651-creating-orders-through-admin-ui-is-broken
I'm confused. Why did we stop using some of the things that were working (shared/_address_form) for instance? It seems like we're missing some good stuff from there (like sorting the state names.) Also the alternate state field (for countries with no states in the db) is showing. Uuse same address checkbox JS seems missing/broken.
See my original commit
fixing admin order creation/checkout
updateding Admin::CheckoutController specs
reverting back to previous Order#completed? implementation
adding order number back into admin checkout path (specs still failing
Merge branch 'master' into 1651-admin-order-creation
continued improvemtents on admin checkout
regular orders should skip the 'adjustments' state during checkout
fix failing specs
CheckoutController now consults Order#completed? in determining if we…
…'re done the checkout process. This removes the assumption that customized state machines will always be in a "complete" state when the checkout is finished.
Order#token should always delegate to the user, even when not anonymous.
Additional spec for registering abilities (verify can declaration wit…
…h a block)
Allow any spree controller to provide pseudo-authentication using a t…
removing adjustments state from order
Added hook to checkout payment step.
Fixed URL for 'My account' link.
Pulled. Thanks for contributing.