Skip to content

Commit 78238d4

Browse files
committed
Fixed the issue where paid rent was not visible in the dashboard chart
1 parent 1ce80ce commit 78238d4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/padr/gys/infra/outbound/persistence/dashboard/repository/DashboardRepository.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public List<RentalIncomeStatistic.MonthlyStatisticElement> calculateRentRevenueB
8484
pd.invoice_id = i.id
8585
WHERE
8686
i.type = 'RENT_PAYMENT'
87-
AND i.is_published = true
8887
AND i.is_deleted = false
8988
AND pd.approvement_status = 'APPROVED'
9089
AND date_part('year', pd.last_modified_date) = date_part('year', NOW())

0 commit comments

Comments
 (0)