FIX[BE]: fixing closing penjualan add sumary

This commit is contained in:
aguhh18
2026-01-21 09:45:19 +07:00
parent d50ab7cc97
commit d0625e7d21
2 changed files with 59 additions and 44 deletions
@@ -160,7 +160,7 @@ func (u *ClosingController) GetPenjualan(c *fiber.Ctx) error {
Code: fiber.StatusOK,
Status: "success",
Message: "Get closing penjualan successfully",
Data: dto.ToPenjualanRealisasiResponseDTO(uint(projectFlockID), result),
Data: dto.ToPenjualanRealisasiResponseDTO(result),
})
}
@@ -190,7 +190,7 @@ func (u *ClosingController) GetPenjualanByProjectFlockKandang(c *fiber.Ctx) erro
Code: fiber.StatusOK,
Status: "success",
Message: "Get closing penjualan by project flock kandang successfully",
Data: dto.ToPenjualanRealisasiResponseDTO(uint(projectFlockID), result),
Data: dto.ToPenjualanRealisasiResponseDTO(result),
})
}