Michael Stenta
|
50e82d0c68
|
Add Flags field to all asset and log types.
|
2018-03-19 17:02:19 -04:00 |
Michael Stenta
|
e83ca98902
|
Style flags checkboxes inline.
|
2018-03-19 16:03:44 -04:00 |
Michael Stenta
|
3036e90205
|
Implement hook_farm_area_details on behalf of farm_flags to show area flags in the area details popup.
|
2018-03-19 15:14:54 -04:00 |
Michael Stenta
|
5b2b4d7f8e
|
Add Flags field to Areas.
|
2018-03-19 15:12:37 -04:00 |
Michael Stenta
|
aecfa19e94
|
Provide two flags by default: "Priority" and "Needs Review".
|
2018-03-19 13:09:02 -04:00 |
Michael Stenta
|
0eb2d5fd61
|
Allow modules to provide flags.
|
2018-03-19 13:08:51 -04:00 |
Michael Stenta
|
55a0200e88
|
Add an allowed values function for the flags field.
|
2018-03-19 12:49:45 -04:00 |
Michael Stenta
|
2a9b769a2d
|
Initial commit of farm_flags module: provide a simple field base for flags.
|
2018-03-19 12:48:11 -04:00 |
Michael Stenta
|
97859d90ff
|
Move exposed filter for animal location down in the list.
|
2018-03-19 12:12:10 -04:00 |
Michael Stenta
|
9df1ccc9de
|
Add exposed date range filter for date of birth in animals list.
|
2018-03-19 12:11:29 -04:00 |
Michael Stenta
|
4c8cfd565f
|
Fix bug in consideration type display.
|
2018-03-16 17:19:28 -04:00 |
Michael Stenta
|
758e06ada6
|
Move $plan_id to the end of the farm_plan_consideration_create() function arguments.
|
2018-03-16 17:10:18 -04:00 |
Michael Stenta
|
9224999790
|
Merge branch 'farm_plan_considerations' into 7.x-1.x
|
2018-03-16 16:55:38 -04:00 |
Michael Stenta
|
998531c88e
|
Add a form for deleting considerations.
|
2018-03-16 16:20:25 -04:00 |
Michael Stenta
|
170cf380e2
|
Redirect to the considerations list after adding/editing one.
|
2018-03-16 16:20:24 -04:00 |
Michael Stenta
|
eb300c726b
|
Add plan column.
|
2018-03-16 16:20:24 -04:00 |
Michael Stenta
|
8d95345fcd
|
Page callback for considerations list, filtered for a plan.
|
2018-03-16 16:20:24 -04:00 |
Michael Stenta
|
e8e439587a
|
Add a place for extra fields. Other modules can form alter this based on the consideration type.
|
2018-03-16 16:20:24 -04:00 |
Michael Stenta
|
52f6301943
|
Adapt form to also allow editing existing considerations.
|
2018-03-16 16:20:24 -04:00 |
Michael Stenta
|
90811fcab3
|
Form for adding considerations.
|
2018-03-16 16:20:24 -04:00 |
Michael Stenta
|
4270108add
|
Statically cache consideration types.
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
6e1b1c9a4e
|
Add dependency on farm_plan.
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
ee1ba93399
|
Add plan_id column to considerations table.
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
0a21d250db
|
Add support for entity associations in the create/save/load/delete functions.
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
666720b5de
|
Add database table for linking entities to considerations (possibly many-to-one).
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
7fb00fc1ed
|
Add database table for linking entities to considerations (possibly many-to-one).
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
36a476031d
|
Add functions for creating, saving, loading, and deleting considerations.
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
0ef09f4bfa
|
Implement hook_farm_plan_consideration_types() to define two consideration types: "Management concern" and "Urgent".
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
06d3e7274d
|
Add a function for getting available consideration types provided by modules.
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
23cb73fb57
|
Initial commit of Farm Plan Considerations module: database schema for considerations.
|
2018-03-16 12:54:36 -04:00 |
Michael Stenta
|
60f4f8b053
|
Sort asset autocomplete by name instead of id.
|
2018-03-16 12:54:31 -04:00 |
Michael Stenta
|
8ae82d1a24
|
Fix asset autocomplete access permission.
|
2018-03-06 08:19:20 -05:00 |
Michael Stenta
|
0760e8d2b0
|
Comment fix.
|
2018-03-02 14:41:33 -05:00 |
Michael Stenta
|
3f09964cb5
|
Provide a quick form for recording animal births.
|
2018-03-02 14:34:19 -05:00 |
Michael Stenta
|
7f9ae00282
|
Allow modules to put quick forms in [module].farm_quick.inc.
|
2018-03-02 14:34:19 -05:00 |
Michael Stenta
|
c5cfe2c768
|
Simplify farm_quick_menu() and add comments to farm_quick.api.php.
|
2018-03-02 14:34:19 -05:00 |
Michael Stenta
|
a6630c960f
|
Add autocomplete path for selecting farm asset entities.
|
2018-03-02 12:30:53 -05:00 |
Michael Stenta
|
6c477fe45d
|
Issue #2402775: New log type: Birth
|
2018-03-02 12:30:25 -05:00 |
Michael Stenta
|
c0bf169207
|
When a birth log is saved, sync the date of birth and mother reference to the children assets.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
3edaa183de
|
Show birth logs on mother assets.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
36e4431fff
|
Add the ability to specify log View asset argument position.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
065d14a0d3
|
In birth log forms, farm_asset query parameter should populate field_farm_mother, not field_farm_asset.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
ffb5a8fd10
|
Allow modules to alter information about fields that should be prepopulated in log forms.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
c27f2ec10f
|
Pass log type into hook_farm_log_prepopulate_reference_fields().
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
2550e19f8d
|
Add hook_farm_log_prepopulate_reference_fields() to allow modules to provide information about fields that can be prepopulated in log forms.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
a0e93dac4e
|
Add/alter feeds field mappings on birth logs.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
fadfb29a1c
|
Prepopulate birth logs with the "Animals" category.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
2c439c8184
|
Add UI entity support for birth logs.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
a1eef3e309
|
Add a View of Birth logs.
|
2018-03-02 12:20:43 -05:00 |
Michael Stenta
|
1a1c4de007
|
Add "Mother" asset reference field to Birth logs.
|
2018-03-02 12:20:43 -05:00 |