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

989 commits

Author SHA1 Message Date
Paul Weidner
37dacdb43e Change CSV format to one animal per line, columns specific to date 2019-09-25 11:05:05 -04:00
Michael Stenta
ee480ec590 Generalize farm_report.info description - not just for assets. 2019-09-25 11:05:05 -04:00
Michael Stenta
d453bad45f Remove asset ID and make "Current weight" bold. 2019-09-25 11:05:05 -04:00
Michael Stenta
6ad3ac254d Float graph to the right of the weights table. 2019-09-25 11:05:05 -04:00
Michael Stenta
1f1f8105a4 Allow creating a report of groups that contain other asset types in addition to animals (but skip them). 2019-09-25 11:05:05 -04:00
Michael Stenta
5e0c4e7507 Fix farm_livestock_weight_report_access(). 2019-09-25 11:05:05 -04:00
Michael Stenta
62d5da2774 Move Quantity report to /farm/report/quantity, depend on farm_report, install farm_report on existing sites. 2019-09-25 11:05:05 -04:00
Michael Stenta
c44662ed6c Install the Farm Report module (dependency of Livestock Weight Report). 2019-09-25 11:05:05 -04:00
Michael Stenta
c9a21f92e2 Add a default "Info" tab to /farm/reports. Make weight report a local task. 2019-09-25 11:05:05 -04:00
Michael Stenta
cddb77a4d6 Remove unnecessary dependencies from farm_report. 2019-09-25 11:05:05 -04:00
Michael Stenta
a731896a5e Pass $end_date into farm_quantity_log_asset() as the timestamp upper bound. 2019-09-25 11:05:05 -04:00
Michael Stenta
a1e802b8f8 Do not include parameter variables in function call. 2019-09-25 11:05:05 -04:00
Michael Stenta
0a34e87a6d Simplify start/end date default value code. 2019-09-25 11:05:05 -04:00
Michael Stenta
f629d8d9fd Misc whitespace, comments, Drupal coding standards fixes. 2019-09-25 11:05:05 -04:00
Michael Stenta
518a2db188 Update farm_quantity_log_asset() docblock. 2019-09-25 11:05:05 -04:00
Paul Weidner
f29b18742e Save weights for graph 2019-09-25 11:05:05 -04:00
Paul Weidner
d7c5c9fe33 Prevent Weight tab from appearing on non-animal assets 2019-09-25 11:05:05 -04:00
Paul Weidner
e64090e04f Change the name of animal weight graph page from 'report' to 'weight' 2019-09-25 11:05:05 -04:00
Michael Stenta
215db36ea2 Update farm_quantity_log_asset_query() docblock. 2019-09-25 11:05:05 -04:00
Paul Weidner
8e72ca9d45 Update the name of the JS graph behavior 2019-09-25 11:05:05 -04:00
Paul Weidner
ed7d893842 Use the drupal theme function to render table of recorded weights 2019-09-25 11:05:05 -04:00
Paul Weidner
473af40b07 Clean code. Use else statement and load multiple logs at once 2019-09-25 11:05:05 -04:00
Paul Weidner
ae7f8df22c Add start and end date filter to CSV export 2019-09-25 11:05:05 -04:00
Paul Weidner
d4276befcf Export CSV file of weights from all animals of selected group(s) 2019-09-25 11:05:05 -04:00
Paul Weidner
f2fc551b54 Remove the group ID from Select list 2019-09-25 11:05:05 -04:00
Paul Weidner
366332c4ba Add a form for selecting groups of animal assets 2019-09-25 11:05:05 -04:00
Paul Weidner
0403bf6980 Move Reports to a tab, out of the Farm menu 2019-09-25 11:05:05 -04:00
Paul Weidner
e8319fae70 Add farm_report permissions 2019-09-25 11:05:05 -04:00
Paul Weidner
565008af75 Add farm_report module, /farm/report path and menu item 2019-09-25 11:05:05 -04:00
Paul Weidner
6b32df38a6 Add a Weight graph to the Livestock Report tab 2019-09-25 11:05:05 -04:00
Paul Weidner
9ade46dc83 Only display the table of weights if weights have been logged 2019-09-25 11:05:05 -04:00
Paul Weidner
4df8640b60 Move the report view to farm_livestock_report.inc 2019-09-25 11:05:05 -04:00
Paul Weidner
3d0789c0df Display all recorded weights in the Animal Reports tab 2019-09-25 11:05:05 -04:00
Paul Weidner
ceaa03912b Update farm_quantity_log_asset_query to accept Type and Single arguments 2019-09-25 11:05:05 -04:00
Paul Weidner
04dca2cf53 Update farm_quantity_log_asset to search for multiple records. 2019-09-25 11:05:05 -04:00
Paul Weidner
91f938e106 Add simple animal report view, show ID and current weight 2019-09-25 11:05:05 -04:00
Paul Weidner
bbf9a7776f Add link to animal report 2019-09-25 11:05:05 -04:00
Michael Stenta
8ffb86c3dc Change "Length" measure label to "Length/depth". 2019-09-17 14:04:02 -04:00
Michael Stenta
da91c3d18f Add Feeds importer mapping for extra fields on Purchase logs. 2019-09-09 13:10:22 -04:00
Michael Stenta
1d4d513c3c Fix Notice: Undefined variable: entity_ids in farm_fields_autocomplete(). 2019-09-02 11:11:56 -04:00
Michael Stenta
e7c924307a Add a helper function for deleting a quantity measurement from a log, based on its label. 2019-08-27 14:22:20 -04:00
Michael Stenta
c4a67637e5 Make farm_quantity_log_update_measurement_by_label() more specific. 2019-08-27 14:21:35 -04:00
Michael Stenta
12c63b1c45 Create the base breadcrumb from the frontpage menu item, so "Farm" can be overridden. 2019-08-26 16:05:20 -04:00
Michael Stenta
b0d011bd7f Fix Views implicit relationship overwriting. 2019-08-23 16:56:39 -04:00
Michael Stenta
1db9cebd02 Describe the plan record relationship entity ID column to Views. 2019-08-23 14:06:14 -04:00
Michael Stenta
fd82b12a9f Create an implicit Views relationship between plan record relationship tables and the {farm_plan} table. 2019-08-23 14:06:00 -04:00
Michael Stenta
729e996261 Add a computed geometry property to assets that shows the geometry of their most recent completed movement log. 2019-08-23 11:32:09 -04:00
Michael Stenta
fa35ac74e8 Allow API access from https://farmOS.app. 2019-08-21 10:32:06 -04:00
Michael Stenta
acfa67867e Fix farm_plan_logs View not appearing on all plan types. 2019-08-14 09:42:05 -04:00
Michael Stenta
8ecff7de26 Add the Google Maps API key to /farm.json. 2019-08-12 21:19:25 -04:00