From: Iain Patterson Date: Thu, 18 Apr 2013 16:09:36 +0000 (-0400) Subject: Removed order quantity. X-Git-Tag: 2013-04-19~3 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=1bfe6a5fb5a274f0d17845f0c6358f1980f89121;p=readifood.git Removed order quantity. Orders refer to parcel size and contents. Quantity isn't used. --- diff --git a/lib/order.php b/lib/order.php index 20e5719..426606b 100644 --- a/lib/order.php +++ b/lib/order.php @@ -299,12 +299,6 @@ echo "\n"; echo "\n"; - /* Quantity. */ - echo "\n"; - echo " Quantity (kg)\n"; - echo " "; input("quantity", sprintf("%0.2f", $order->getQuantity() / 1000)); echo "\n"; - echo "\n"; - /* Parcel type. */ echo "\n"; echo " Parcel size\n"; @@ -489,7 +483,6 @@ $order->setRequesterId($requester_id); $order->setBeneficiaryId($beneficiary_id); $order->setHubId($hub_id); - $order->setQuantity($quantity * 1000); $order->setParcel($parcel); /* XXX: begin/commit */ diff --git a/propel/schema.xml b/propel/schema.xml index 0c35e97..1f423dd 100644 --- a/propel/schema.xml +++ b/propel/schema.xml @@ -131,7 +131,6 @@ -