From 78238d4a5eb8dfd55c4e8f4b33fb7b76d214c541 Mon Sep 17 00:00:00 2001 From: burakpadr Date: Thu, 11 Jul 2024 00:18:10 +0300 Subject: [PATCH] Fixed the issue where paid rent was not visible in the dashboard chart --- .../persistence/dashboard/repository/DashboardRepository.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/padr/gys/infra/outbound/persistence/dashboard/repository/DashboardRepository.java b/src/main/java/com/padr/gys/infra/outbound/persistence/dashboard/repository/DashboardRepository.java index bc0d897..d933fb3 100644 --- a/src/main/java/com/padr/gys/infra/outbound/persistence/dashboard/repository/DashboardRepository.java +++ b/src/main/java/com/padr/gys/infra/outbound/persistence/dashboard/repository/DashboardRepository.java @@ -84,7 +84,6 @@ public List calculateRentRevenueB pd.invoice_id = i.id WHERE i.type = 'RENT_PAYMENT' - AND i.is_published = true AND i.is_deleted = false AND pd.approvement_status = 'APPROVED' AND date_part('year', pd.last_modified_date) = date_part('year', NOW())