dreamingmind / bindery

CakePHP 1.3 Based Dreaming Mind Bindery Site
2 stars 2 forks source link

Order and OrderItem do not yet have State handlers #246

Closed dreamingmind closed 9 years ago

dreamingmind commented 9 years ago

Cart and CartItem are states of Order and OrderItem (based on a value in a field) but there is no code to detect the state of these records or to instantiate the proper handlers for the records and their states.

For the really broad-brush work (distinguishing Carts from Orders for example), having the queries watch the state field might be enough because the two types of records are not really handled at the same time (like on the ampfg status page).

More to come.