Commit Graph

34 Commits

Author SHA1 Message Date
Michael Stenta e22e419f2c Deprecate farm_area_parse_names() and use farm_term_parse_names() instead. 2020-05-24 15:56:42 -04:00
Michael Stenta 49612fd98b Use farm_term_parse_names instead of introducing new farm_season_parse_names() function. 2020-05-24 15:49:10 -04:00
Paul Weidner a40dc48661 Allow multiple seasons to be added in planting quick form. 2020-05-24 12:57:00 -04:00
Paul Weidner 92d0bc8221 Add season to an array of seasons on the planting. 2020-05-24 12:57:00 -04:00
Michael Stenta db27caee38 Fix extra space between season and crop when location isn't specified. 2020-05-11 11:33:48 -04:00
Michael Stenta bb66528f29 Improve seeding/transplanting location description. 2020-05-11 11:33:30 -04:00
Paul Weidner bab224326a Update date_year_range to be -10:+3 to match other date selectors. 2020-05-11 11:05:34 -04:00
Paul Weidner d1363c4bc5 Add descriptions to Crops and Location fields. 2020-05-11 11:05:34 -04:00
Paul Weidner 91b3494fc3 Trim location to ensure asset name is less than 255 char. 2020-05-11 11:05:34 -04:00
Paul Weidner b3c712f1e2 Disable length limit on Log Location field. 2020-05-11 11:05:34 -04:00
Paul Weidner 66c80a28d1 Limit the planting asset name to 255 char. 2020-05-11 11:05:34 -04:00
Michael Stenta 9b1a87dcbe Translate untranslated drupal_set_message() function calls. 2020-04-23 10:46:19 -04:00
Michael Stenta ad7386e18e Clarify how location is chosen in comment and description. 2019-01-08 15:12:48 -05:00
Michael Stenta 8201836df3 Move implode()s closer together so it's easier to see how the planting name is assembled. 2019-01-08 15:12:04 -05:00
Michael Stenta a71764d840 Coding standards: whitespace. 2019-01-08 15:10:56 -05:00
Paul Weidner 4102776dff Add location to comment 2019-01-08 11:12:03 -08:00
Paul Weidner 39a84a4db8 Add description to the planting asset name field 2019-01-08 11:09:22 -08:00
Paul Weidner 5846276626 Autofill location in the asset name 2019-01-08 11:09:04 -08:00
Michael Stenta 33937bc2f7 Comments: add punctuation, minor rewording. 2019-01-08 13:33:30 -05:00
Michael Stenta f6f3c73ade Move $form_values alias to the top and replace other usages. 2019-01-08 13:30:13 -05:00
Paul Weidner f33dc32ca1 Use the default season that is already stored 2019-01-08 10:00:59 -08:00
Paul Weidner b041422c0a Fix bug, the input changes were not included with the submitted form. Set the default value, not value. 2019-01-08 09:57:50 -08:00
Paul Weidner 9e4b966b88 Update the planting asset name to be submitted 2019-01-08 09:55:03 -08:00
Paul Weidner 4b85217004 Add callback to the Season and Crop fields to update the Planting Name. 2019-01-08 09:26:46 -08:00
Paul Weidner f29a527542 Add planting asset name text field 2019-01-07 20:51:30 -08:00
Michael Stenta a14d6a5526 Make the planting quick form checkboxes purpose more clear with "Add [type]". 2019-01-03 10:25:30 -05:00
Michael Stenta f22ad02b22 Add the ability to record a harvest log. 2018-12-18 14:31:36 -05:00
Michael Stenta 06b0f58a45 Add quantity field to logs. 2018-12-18 14:31:36 -05:00
Michael Stenta 9b4de6a7f9 Collapse log notes field. 2018-12-18 14:31:36 -05:00
Michael Stenta fd41604b1f Add seeding and transplanting log fields and processing. 2018-12-18 14:31:36 -05:00
Michael Stenta af994b7e56 Create separate explicit fields for each crop/variety. 2018-12-18 14:31:36 -05:00
Michael Stenta 54ee4723f6 Planting submit function: create planting with name, season, and crops. 2018-12-18 14:31:36 -05:00
Michael Stenta 708f05ca00 Add fields for defining the planting's season and crop(s), and remember the last-entered season. 2018-12-18 14:31:36 -05:00
Michael Stenta b8af7f1fe9 Initial planting quick form (skeleton). 2018-12-18 14:31:36 -05:00