FEAT[BE] ;: inisiate customer payment report route and related DTOs

This commit is contained in:
aguhh18
2026-01-12 20:00:49 +07:00
parent 80b2cafd2f
commit f0b4fe916c
5 changed files with 95 additions and 4 deletions
@@ -584,7 +584,6 @@ func (s chickinService) Approval(c *fiber.Ctx, req *validation.Approve) ([]entit
return updated, nil
}
// autoAddFlagToProduct adds target flag to product if not already present (idempotent)
func (s *chickinService) autoAddFlagToProduct(ctx context.Context, tx *gorm.DB, productID uint, targetFlag utils.FlagType) error {
if s.ProductRepo == nil {
return nil