feat[BE]: enhance expense management with location and project flock integration, including updates to migrations, entities, services, and validations

This commit is contained in:
aguhh18
2025-12-28 08:13:50 +07:00
parent 85dc0ecd13
commit ec6da57510
10 changed files with 197 additions and 69 deletions
@@ -571,7 +571,7 @@ func (b *expenseBridge) createExpenseViaService(
Category: "BOP",
SupplierID: uint64(supplierID),
ExpenseNonstocks: []expenseValidation.ExpenseNonstock{{
KandangID: uint64(*kandangID),
KandangID: func() *uint64 { id := uint64(*kandangID); return &id }(),
CostItems: costItems,
}},
}