summaryrefslogtreecommitdiff
path: root/Model.hs
diff options
context:
space:
mode:
authorFélix Sipma <gueux@gueux.org>2014-03-11 13:41:01 +0100
committerFélix Sipma <gueux@gueux.org>2014-03-13 14:07:12 +0100
commite5b07498963c281f977477a7fc6b2d95f67ac0a3 (patch)
treeb09cef68371dd1c4eb328239a801270be25e763c /Model.hs
parenta309a1ed3fb40f1b062e26aaf19f752d26227399 (diff)
reorder modules; add Maybe ShoppingCartItem argument to Handler.Shop.itemForm
* create Shop * rename Handler.Order to Handler.ShoppingCartItem * rename Image.Field to Shop.Image.Fields * rename Image.Upload to Shop.Image.Functions * rename Money.Fields to Shop.Money.Fields * rename Money.Types to Shop.Money.Types * rename Unit to Shop.Unit.Types * rename Handler.Order.quantityIntField to Shop.Quantity.Fields.quantityField * add Maybe ShoppingCartItem argument to Handler.Shop.itemForm * ShoppingCartItem model: remove "UniqueOrderItem customer item", add "paid Bool default=False"
Diffstat (limited to 'Model.hs')
-rw-r--r--Model.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Model.hs b/Model.hs
index 9762e5e..364e52b 100644
--- a/Model.hs
+++ b/Model.hs
@@ -6,8 +6,8 @@ import Data.Text (Text)
import Database.Persist.Quasi
import Data.Typeable (Typeable)
import Data.Time (UTCTime)
-import Unit
-import Money.Types (Amount)
+import Shop.Unit.Types (Unit)
+import Shop.Money.Types (Amount)
-- You can define all of your database entities in the entities file.
-- You can find more information on persistent and how to declare entities