3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

28 commits

Author SHA1 Message Date
Michael Stenta
cdbd82dd15 Rename columns in plan consideration table to avoid reserved SQL words. 2018-12-27 09:50:10 -05:00
Michael Stenta
06bc4a24bc Add asset, log, and plan types to entity view pages so it's clear what you're looking at. 2018-06-13 13:00:10 -04:00
Michael Stenta
dbd7efc731 Provide access callbacks for asset and plan entity properties. 2018-05-18 09:50:50 -04:00
Michael Stenta
1a3ca112f6 Add exposed "Items per page" option to all Views. 2018-04-16 13:46:53 -04:00
drupalgin
0e5a226627 Issue #2950316 by drupalgin: Fixed coding standards 2018-04-07 12:40:16 -04:00
Michael Stenta
c9c7f48c8d Fix "Plan saved" link when farmOS is installed in a subdirectory. 2018-04-07 11:38:14 -04:00
Michael Stenta
57a09fb8d9 Prevent deleting entities that are referenced in the {farm_plan_consideration_entity} table. 2018-03-22 15:07:33 -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
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
44f112575d Rename "View" tab to "Plan", and "Edit" tab to "Settings". 2017-11-24 21:00:23 -05:00
Michael Stenta
57ab97c736 Initial commit of Farm Plan module: provides a farm_plan asset type. Copied and modified from farm_asset module. 2017-11-24 21:00:23 -05:00