readifood.git
11 years agoRecord donations in grams.
Iain Patterson [Wed, 10 Apr 2013 20:55:40 +0000 (16:55 -0400)]
Record donations in grams.

Donations are entered as kilograms to two decimal places but are stored
internally as integers.
Convert the donation to grams so we can save an integer value to the
database.

11 years agoAdded contact registration date.
Iain Patterson [Wed, 10 Apr 2013 20:50:41 +0000 (16:50 -0400)]
Added contact registration date.

Record date a contact was registered on the system.

11 years agoFix foreign key constraints.
Iain Patterson [Wed, 10 Apr 2013 16:41:41 +0000 (12:41 -0400)]
Fix foreign key constraints.

OrderState references a contact ID rather than a user.
Foreign keys must be explicitly set as NULL from Propel.

11 years agoAllow placing recurring orders.
Iain Patterson [Wed, 10 Apr 2013 16:40:58 +0000 (12:40 -0400)]
Allow placing recurring orders.

New orders can be assigned a recurrence of up to 3 weekly iterations.

11 years agoAdded contact notes field.
Iain Patterson [Wed, 10 Apr 2013 08:20:18 +0000 (04:20 -0400)]
Added contact notes field.

Allow freeform notes for a contact, for instance for quickly noting the
family makeup and dietary requirements during a phone call so that more
details attributes can be specified when time pressure is relaxed.

11 years agoStandardise contact and hub display.
Iain Patterson [Tue, 9 Apr 2013 22:27:17 +0000 (18:27 -0400)]
Standardise contact and hub display.

Contacts and hubs are very similar, having roles, addresses and
entity-specific attributes.  Use similar functions and layout when
showing them both.

11 years agoSplit hub roles.
Iain Patterson [Tue, 9 Apr 2013 22:26:57 +0000 (18:26 -0400)]
Split hub roles.

Differentiate between hubs which take donations (ROLE_COLLECTION) and
those which receive orders on behalf of beneficiaries
(ROLE_DISTRIBUTION).

11 years agoRequester => Referrer.
Iain Patterson [Tue, 9 Apr 2013 19:30:17 +0000 (15:30 -0400)]
Requester => Referrer.

The preferred terminology for someone requesting an order is Referrer
rather than Requester.

11 years agoGo live.
Iain Patterson [Tue, 9 Apr 2013 15:44:41 +0000 (11:44 -0400)]
Go live.