Commit Graph

11 Commits

Author SHA1 Message Date
Michael Stenta 898d2355f0 Introduce new getQuickId() and setQuickId() methods. Deprecate getId(). 2023-10-06 14:11:10 -04:00
Michael Stenta a1daf8300c Fix abstract getId() method visibility in QuickAssetTrait, QuickLogTrait, and QuickPrepopulateTrait.
These should match QuickFormInterface, which declares getID() as a public method.
2023-10-06 13:58:57 -04:00
Michael Stenta 6c5f42b98f Use default quantity type in QuickQuantityTrait.
This removes the dependency on farm_quantity_standard.
2022-11-22 16:20:40 -05:00
Michael Stenta 928f95d3ba Allow full quantity entities to be passed into createLog() values. 2022-01-19 13:00:22 -05:00
Michael Stenta 278efbf27a Ensure the names/labels of assets, logs, terms, and quantities created by quick traits are less than 255 chars. 2022-01-19 13:00:22 -05:00
Michael Stenta e2b6502f27 Make all quick trait methods protected. 2022-01-19 13:00:22 -05:00
Michael Stenta 93dd920391 Track which quick form created assets/logs. 2021-10-27 15:22:33 -04:00
Michael Stenta cec091b720 Use the createQuantity() helper method in the createLog() helper method. 2021-10-27 13:45:18 -04:00
Michael Stenta 78fa65945b If not specified, set the log's status to "done". 2021-10-27 13:45:18 -04:00
Michael Stenta c680e5c24b Display a message with a link to the entity when an asset or log is created. 2021-10-27 13:45:18 -04:00
Michael Stenta d5a4407301 Provide traits with helper methods for creating assets and logs. 2021-10-27 13:45:18 -04:00