mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-06-09 15:07:49 +00:00
initial refactori trasnfer to laying, and depretitation to 25 week
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
-- Truncate semua farm_depreciation_snapshots agar di-recompute dengan logic baru:
|
||||
-- 1. Multi-transfer per target kandang sekarang menghasilkan multiple parts (1 per transfer)
|
||||
-- 2. Economic cutoff date sudah diupdate dari 19 minggu ke 25 minggu
|
||||
-- 3. Format `components` JSON tetap kompatibel — yang berubah adalah jumlah entries (lebih banyak
|
||||
-- untuk kandang multi-transfer)
|
||||
--
|
||||
-- Snapshot akan otomatis di-regenerate saat user request `/api/reports/expense/depreciation`
|
||||
-- untuk period yang relevan.
|
||||
|
||||
TRUNCATE TABLE farm_depreciation_snapshots;
|
||||
Reference in New Issue
Block a user