mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-24 07:15:43 +00:00
feat(BE-278): unrestrict feat warehouse purchase,adding purchase upload document
This commit is contained in:
@@ -394,9 +394,13 @@ func (b *expenseBridge) OnItemsReceived(c *fiber.Ctx, purchaseID uint, updates [
|
||||
}
|
||||
if kandangID != nil {
|
||||
updateBody["kandang_id"] = uint64(*kandangID)
|
||||
} else {
|
||||
updateBody["kandang_id"] = nil
|
||||
}
|
||||
if projectFK != nil {
|
||||
updateBody["project_flock_kandang_id"] = uint64(*projectFK)
|
||||
} else {
|
||||
updateBody["project_flock_kandang_id"] = nil
|
||||
}
|
||||
|
||||
if err := b.db.WithContext(ctx).
|
||||
|
||||
Reference in New Issue
Block a user