Feat[BE#280]:add project budgets to body create API and get one API

This commit is contained in:
aguhh18
2025-12-02 09:32:42 +07:00
parent 29f0fd6edb
commit 1d0ef8fb93
7 changed files with 108 additions and 23 deletions
@@ -54,7 +54,9 @@ func (r *ProjectflockRepositoryImpl) WithDefaultRelations() func(*gorm.DB) *gorm
Preload("Location").
Preload("Kandangs").
Preload("KandangHistory").
Preload("KandangHistory.Kandang")
Preload("KandangHistory.Kandang").
Preload("Budgets").
Preload("Budgets.Nonstock")
}
}