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

196 commits

Author SHA1 Message Date
Michael Stenta
1178d1fbb2 Change all area type styles to match those provided by farmOS-map. 2020-02-10 14:27:49 -05:00
Michael Stenta
97c872cdc0 Allow decimal values in the milk quick form. 2020-02-07 14:10:03 -05:00
Michael Stenta
f731b378da Only include observation logs in livestock weight reports. #208 2019-10-10 12:40:21 -04:00
Michael Stenta
d47db78086 Trim whitespace from CSV fields: Asset names, Parent names, Areas, Categories, Crop/variety, Nicknames, Material. 2019-10-09 12:38:25 -04:00
Michael Stenta
148eda32b0 Issue #3086611: Allow CSV imports to reference assets by name 2019-10-09 12:38:25 -04:00
Michael Stenta
6c6ada79ce Fix birth log importer's mother reference target. 2019-10-09 12:38:25 -04:00
Paul Weidner
66f08494e2 Use the average weight calculated on the server in graphs. 2019-09-25 11:05:05 -04:00
Paul Weidner
61df12ed89 Add the average animal gain per day to group report 2019-09-25 11:05:05 -04:00
Paul Weidner
f17c1c448a Rename Average Weight graph 2019-09-25 11:05:05 -04:00
Paul Weidner
ced00f371f Display graphs of average animal weights in group reports 2019-09-25 11:05:05 -04:00
Paul Weidner
875c46bbc6 Update group report, display HTML table and CSV Export 2019-09-25 11:05:05 -04:00
Paul Weidner
8bc35866bb Update name of individual report method. 2019-09-25 11:05:05 -04:00
Michael Stenta
e99011881c Move individual weight report access callback to main module file. 2019-09-25 11:05:05 -04:00
Paul Weidner
76ace07782 Improve header formatting of CSV 2019-09-25 11:05:05 -04:00
Paul Weidner
229630bf5a Change to use a while loop to walk through columns + logs 2019-09-25 11:05:05 -04:00
Paul Weidner
655daacec1 Collect log dates unique to each animal 2019-09-25 11:05:05 -04:00
Paul Weidner
a49c727a56 Unset the default start date, change the date_year_range to -10:+1 2019-09-25 11:05:05 -04:00
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
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
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
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
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
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
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
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
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
766454b0b7 Split animal weight code to farm_livestock_weight. 2019-07-09 14:04:42 -04:00
Michael Stenta
5c89340268 Adjust field group weights for consistency. 2019-04-11 00:00:39 -04:00
Michael Stenta
5fab821aa3 Add timestamp to log name patterns. 2019-04-09 14:38:55 -04:00
Michael Stenta
130b9301a5 Add metrics for total number of areas, and total area of certain area types. 2019-04-01 15:56:17 -04:00
Michael Stenta
3f17afcf63 Implement hook_restws_field_collection_info() for field collections: Group Memberships, Inventory Adjustments, Animal Tag IDs, Movements, and Quantity Measurements. 2019-03-06 17:35:11 -05:00
Michael Stenta
e7a781a714 Move default livestock area types to new farm_livestock_area_types module. 2018-12-04 15:19:43 -05:00
Michael Stenta
4f9fbf6a06 Move Birth and Milk quick forms to separate include files (requires menu rebuild). 2018-11-30 11:51:08 -05:00