Michael Stenta
|
a49812f8bc
|
Add a function for generating a group membership assignment log.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
98f4dc350c
|
Show View of logs with group membership on assets.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
e8ee8ec8e8
|
Add a View of logs with group membership.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
96c7445aa1
|
Show an assets current group membership on asset view page.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
6a684a9a2b
|
Create a function that allows you to get a list of a group's members.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
1f4e49c504
|
Show members of a group when viewing a group's page.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
4b4542c097
|
Add a View for displaying members of a group.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
58138651cd
|
Add a Views relationship handler for linking assets to their latest group membership log.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
cc717f2854
|
Abstract the Views relationship handler for linking assets to their movement logs so that it can be used for other purposes (like group membership).
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
4e48221726
|
When a log form with a group reference field is submitted validate that assets are referenced and they don't create a circular membership.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
0731214b3d
|
Add a function to check for circular group membership.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
e1a47a0691
|
Add functions for querying the membership of an asset (similar to farm_movement's location code).
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
b0f8ceb439
|
Move areas, movement, and inventory field displays relative to assets, and other field display consistency fixes.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
59f706dd27
|
Add "Group Membership" fieldset and "Group" reference field to activity and observation logs.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
21bbcb171a
|
Add a group reference field base.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
5c212fc63a
|
Add a View for selecting Group assets (via entityreference_view_widget).
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
8f6eba3940
|
Reorganize group asset fields into Easy Responsive Tabs.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
71a2662eb7
|
Implement hook_farm_ui_entities() to describe the Group asset type to the Farm UI module.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
4369e7cbc8
|
Add a View of Groups at /farm/assets/groups.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
86768afbc3
|
Initial commit of Farm Group module: provide a basic Group asset type.
|
2017-11-24 20:58:33 -05:00 |
|
Michael Stenta
|
a9743fa150
|
Query to retrieve movement logs to an area should never use the $single parameter.
|
2017-11-24 20:57:47 -05:00 |
|
Michael Stenta
|
c00305f71c
|
Add a function for retrieving an area's movement history.
|
2017-11-24 20:57:47 -05:00 |
|
Michael Stenta
|
ba58dc436a
|
Add a function for getting an asset's next movement log.
|
2017-11-24 20:57:47 -05:00 |
|
Michael Stenta
|
d27a9114c8
|
Make farm_log_query() range limit optional with a new $single parameter.
|
2017-11-24 20:57:47 -05:00 |
|
Michael Stenta
|
6d39abe4d9
|
Remove $log_id_field parameter from farm_log_query() to simplify. Add the field where needed.
|
2017-11-24 20:57:47 -05:00 |
|
Michael Stenta
|
9cc6d12162
|
Add farm_movement_area_movement_query() for building a query that finds movement logs to a specific area.
|
2017-11-24 20:57:47 -05:00 |
|
Michael Stenta
|
e96a19173b
|
Add a measure for area.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
d61fd7500b
|
Create a function for defining information about available quantity measures.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
68f5eba9d0
|
Replace Sale log Quantity field collection with individual Quantity and Units fields.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
4d1fde71c6
|
Make Units field not required.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
191aa90f0b
|
Arrange quantity field display.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
ae939e345a
|
Use farm_log_asset_query() to build quantity query.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
efb3c20073
|
Add functions for loading quantity data for a specific asset, optionally given a measure and/or label.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
6a1f70fd73
|
Allow multiple quantities to be entered on each log. Hide initial form and require user to add first item.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
e92d6f4fec
|
Add a Label field to Quantities.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
ee6e0d264a
|
Update Quantity field instance descriptions to include Measure.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
1c29669b37
|
Add a function that defines the available options for the Measure field.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
d309c509a7
|
Add a Measure field to Quantities.
|
2017-11-24 20:56:32 -05:00 |
|
Michael Stenta
|
91160a7b3d
|
Add an index on 'name' and 'value' columns in {farm_asset_property}.
|
2017-11-24 20:55:50 -05:00 |
|
Michael Stenta
|
539a52f0aa
|
Change asset property database value column to a varchar.
|
2017-11-24 20:55:50 -05:00 |
|
Michael Stenta
|
ce4b3c1485
|
Allow a default value to be set when getting an asset property (similar to variable_get()).
|
2017-11-24 20:55:50 -05:00 |
|
Michael Stenta
|
32d4a01d0e
|
Implement hook_entity_delete() to clean up asset properties if an asset is deleted.
|
2017-11-24 20:55:50 -05:00 |
|
Michael Stenta
|
773605951c
|
Add functions for getting, setting, deleting, and checking whether or not a property is set.
|
2017-11-24 20:55:50 -05:00 |
|
Michael Stenta
|
f1e75d5ba4
|
Initial commit: provide a {farm_asset_property} key/value database table.
|
2017-11-14 13:52:30 -05:00 |
|
Michael Stenta
|
b327a64eae
|
Minor doc fix in hook_farm_ui_entity_view_groups().
|
2017-11-14 13:45:37 -05:00 |
|
Michael Stenta
|
3a61454104
|
Do not allow collapsing farm_ui groups.
|
2017-11-14 13:45:37 -05:00 |
|
Michael Stenta
|
cf84a3af07
|
Put all log Views in the "logs" farm_ui group and change the group name to "Logs by type".
|
2017-11-14 13:45:37 -05:00 |
|
Michael Stenta
|
0116ee4d41
|
Put asset children View in the "assets" farm_ui group.
|
2017-11-14 13:45:37 -05:00 |
|
Michael Stenta
|
a6da002c62
|
Add a group for "Logs with special purpose" and put movement and inventory logs in there via farm_ui.
|
2017-11-14 13:45:37 -05:00 |
|
Michael Stenta
|
67034ecba3
|
Change "Logs with [movements/inventory]" to "Logs of [movements/inventory]".
|
2017-11-14 13:45:20 -05:00 |
|