wkigenyi commented on code in PR #3881:
URL: https://github.com/apache/fineract/pull/3881#discussion_r1798053347


##########
fineract-provider/src/main/java/org/apache/fineract/organisation/teller/service/TellerManagementReadPlatformServiceImpl.java:
##########
@@ -828,15 +818,15 @@ public String cashierTxnSummarySchema() {
                     "    left join r_enum_value renum ON 
cli_txn.transaction_type_enum = renum.enum_id AND renum.enum_name = 
'client_transaction_type_enum' ");
             sqlBuilder.append("    left join m_client cl ON cli_txn.client_id 
= cl.id ");
             sqlBuilder.append("    left join m_office o ON cl.office_id = o.id 
");
-            sqlBuilder.append("    left join m_appuser user ON 
cli_txn.created_by = user.id ");
-            sqlBuilder.append("    left join m_staff staff ON user.staff_id = 
staff.id ");
+            sqlBuilder.append("    left join m_appuser user_ ON 
cli_txn.created_by = user_.id ");
+            sqlBuilder.append("    left join m_staff staff ON user_.staff_id = 
staff.id ");
             sqlBuilder.append("    left join m_cashiers c ON c.staff_id = 
staff.id ");
             sqlBuilder.append(" left join m_payment_detail payDetails on 
payDetails.id = cli_txn.payment_detail_id ");
             sqlBuilder.append(" left join m_payment_type payType on payType.id 
= payDetails.payment_type_id ");
             sqlBuilder.append("    where cli_txn.is_reversed = false AND c.id 
= ?    ");
             sqlBuilder.append(" and cli_txn.currency_code = ? ");
-            sqlBuilder.append("    and o.hierarchy LIKE ? ");
-            sqlBuilder.append("    and cli_txn.transaction_date between 
c.start_date and date_add(c.end_date, interval 1 day) ");
+            //sqlBuilder.append("    and o.hierarchy LIKE ? ");

Review Comment:
   Same reason as above



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to