X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=lib%2Ffunctions.php;h=801ed7806b61e1d0c29c80aed65ade172a0a074b;hb=0fd77b357d1868a57756e91f9e71dfa3b3db26b8;hp=3727a65d5aa414e21a4271b920a7bb2e66c73d26;hpb=5f50c624101d671ec4147b3ad974c15178c6ebe5;p=readifood.git diff --git a/lib/functions.php b/lib/functions.php index 3727a65..801ed78 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -246,6 +246,11 @@ return get_area_city($area); } + /* Parcel strings are the same so this can work. */ + function get_contact_parcel_string($contact) { + return get_order_parcel_string($contact); + } + /* Hub and Contact are similar enough that this can work. */ function get_hub_address($hub) { return get_contact_address($hub); @@ -384,15 +389,22 @@ } function show_date_form($name, $date = null) { + $past = 60; + $future = 60; echo "\n";