Consumables Overhaul V2#18589
Conversation
# Conflicts: # resources/views/maintenances/view.blade.php
… were referenced.
|
I feel like this is getting way out of control. Why are you adding timezones to this PR? That should - at the very least - be a completely different PR as it’s not related to consumables. The way to increase the odds of a PR being merged is by keeping them small and tight, avoiding feature sprawl whenever possible. |
Ooops! I will revert those commits and create a new branch |
0d9f42b to
8fe32d8
Compare
|
Extremely sorry about that! Completely lost the plot on that one! I am now done touching this PR, I will even create a new one if you would like. Sorting for total cost was not working correctly. I am happy with how it is now on the consumables release. |
|
@WatchDoges101 it will be very usefull for me, @snipe please continue to work on it. Thank you so much |
Back with some improvements and quality updates to my idea. Let me know what you think ❤️
This pull request introduces several improvements and new features related to consumables management, along with some UI and maintenance updates. The most significant changes are the addition of a "reset/replenish" feature for consumables, enhancements to how consumable cost is calculated and displayed, and improvements to the consumable assignment history and permissions. There are also updates to accessory views and some minor code and config cleanups.
Consumables Management Enhancements
app/Http/Controllers/Consumables/ConsumablesController.php,app/Presenters/ActionlogPresenter.php,app/Models/Consumable.php) [1] [2] [3] [4] [5]app/Http/Controllers/Api/ConsumablesController.php,app/Models/Actionlog.php,app/Http/Transformers/ActionlogsTransformer.php) [1] [2]Cost Calculation and Display
app/Models/Consumable.php,app/Http/Transformers/ConsumablesTransformer.php,resources/views/blade/box/info-panel.blade.php) [1] [2] [3]Permissions and UI Improvements
app/Http/Transformers/ConsumablesTransformer.php)resources/views/accessories/view.blade.php) [1] [2] [3]Other Changes
masterinstead ofdevelop. (config/version.php)app/Http/Transformers/CustomFieldsTransformer.php,public/mix-manifest.json) [1] [2]These changes collectively improve the accuracy, traceability, and usability of consumable management in the application.