Implement Asset Depreciation Calculation and Tracking #377
+198
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request was created by Sweep to resolve the following request by @curtisdelicata:
Continue chatting at https://sweep-chat-demo.vercel.app/c/5936b2a3-444c-4c7c-9fe4-a40ec54932ed.
Purpose
Enhance the accounting system's asset management capabilities by introducing comprehensive depreciation calculation and tracking functionality, supporting both straight-line and reducing balance depreciation methods.
Description
This pull request adds robust asset depreciation features to the accounting system:
Asset
model with new depreciation-related fields and methodsDepreciationCalculation
model to store detailed depreciation recordsThe implementation allows users to:
Summary
2024_02_14_000001_add_depreciation_fields_to_assets_table.php
2024_02_14_000002_create_depreciation_calculations_table.php
app/Models/Asset.php
: Added depreciation calculation methodsapp/Models/DepreciationCalculation.php
: New model for tracking depreciationapp/Filament/App/Resources/AssetResource.php
: Added depreciation-related form and table configurations