From 8012a025207b56778ce0fb64aa7d60d737579eeb Mon Sep 17 00:00:00 2001 From: PyansiSuman <92641979+PyansiSuman@users.noreply.github.com> Date: Tue, 4 Aug 2026 16:54:29 +0530 Subject: [PATCH 1/3] demo demo --- configs/reports/configs/rl-reports.yml | 84 ++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/configs/reports/configs/rl-reports.yml b/configs/reports/configs/rl-reports.yml index b7d91b87..2ae75554 100644 --- a/configs/reports/configs/rl-reports.yml +++ b/configs/reports/configs/rl-reports.yml @@ -818,3 +818,87 @@ ReportDefinitions: LEFT JOIN eg_user usr ON usr.id = payment.createdby::integer WHERE pd.businessservice = 'rl-services' orderby: ORDER BY pd.receiptdate DESC; + + - reportName: RLdetailreport + summary: Details of application in Rent & Lease service learning + version: 1.0.0 + moduleName: rainmaker-rl + additionalConfig: + print: + pdfPageSize: A4 + sourceColumns: + - name: Application Number + label: Application Number + type: string + source: rl + total: false + - name: Application type + label: Application type + type: string + source: rl + total: false + - name: Property ID + label: Property ID + type: string + source: rl + total: false + - name: Owner/Tenant Name + label: Owner/Tenant Name + type: string + source: rl + total: false + - name: Rent Amount + label: Rent Amount + type: number + source: rl + total: true + - name: Application Status + label: Application Status + type: string + source: rl + total: false + - name: Application Creation Date + label: Application Creation Date + type: string + source: rl + total: false + + searchParams: + - name: status + label: Application Status + type: singlevaluelist + pattern: 'list://INITIATED:Initiated,FORWARD_FOT_SETLEMENT:Forward For Settlement,CLOSED:Closed, APPROVED:Approved,PENDINGFORAPPROVAL:Pending For Approval , PENDING_FOR_DOCUMENT_VERIFY:Pending For Document Verify,PENDING_FOR_PAYMENT:Pending For Payment,PENDING_REQUEST_FOR_DISCONNECTION:Pending Request For Disconnection' + source: rl + isMandatory: false + searchClause: AND status = $status + - name: ulb + label: ULB + type: singlevaluelist + pattern: 'http://egov-mdms-service:8080/egov-mdms-service/v1/_get?tenantId=$tenantid&moduleName=tenant&masterName=tenants|$.MdmsRes.tenant.tenants.*.code|$.MdmsRes.tenant.tenants.*.name' + source: rl + isMandatory: false + searchClause: AND tenant_id = $ulb + + query: | + SELECT + a.application_number AS "Application Number", + application_type, + a.property_id AS "Property ID", + u.name AS "Owner/Tenant Name", + rr.revised_rent AS "Rent Amount", + a.status AS "Application Status", + TO_TIMESTAMP(a.created_time / 1000) AS "Application Creation Date" + FROM public.eg_rl_allotment a + + LEFT JOIN public.eg_rl_owner_info o + ON a.id = o.allotment_id + + LEFT JOIN public.eg_user u + ON o.user_uuid = u.uuid + + LEFT JOIN public.eg_rl_rent_revision rr + ON a.id = rr.allotment_id + + WHERE a.application_type = 'NEW' + + ORDER BY a.created_time DESC; \ No newline at end of file From e4f2ce6dfb1deadf48b30fe019d9bbe0fcd07fda Mon Sep 17 00:00:00 2001 From: PyansiSuman <92641979+PyansiSuman@users.noreply.github.com> Date: Tue, 4 Aug 2026 17:09:07 +0530 Subject: [PATCH 2/3] demo demo --- configs/reports/configs/rl-reports.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/configs/reports/configs/rl-reports.yml b/configs/reports/configs/rl-reports.yml index 2ae75554..a59511b9 100644 --- a/configs/reports/configs/rl-reports.yml +++ b/configs/reports/configs/rl-reports.yml @@ -862,7 +862,6 @@ ReportDefinitions: type: string source: rl total: false - searchParams: - name: status label: Application Status @@ -878,11 +877,10 @@ ReportDefinitions: source: rl isMandatory: false searchClause: AND tenant_id = $ulb - query: | SELECT a.application_number AS "Application Number", - application_type, + application_type, a.property_id AS "Property ID", u.name AS "Owner/Tenant Name", rr.revised_rent AS "Rent Amount", @@ -898,7 +896,4 @@ ReportDefinitions: LEFT JOIN public.eg_rl_rent_revision rr ON a.id = rr.allotment_id - - WHERE a.application_type = 'NEW' - - ORDER BY a.created_time DESC; \ No newline at end of file + order by: ORDER BY a.created_time DESC; \ No newline at end of file From 85e4e2a66a7c8800aab1b36ad38031c2ece847dd Mon Sep 17 00:00:00 2001 From: PyansiSuman <92641979+PyansiSuman@users.noreply.github.com> Date: Wed, 5 Aug 2026 09:58:31 +0530 Subject: [PATCH 3/3] Create New Data Report for Rent & Lease Module Create New Data Report for Rent & Lease Module --- configs/reports/configs/rl-reports.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/reports/configs/rl-reports.yml b/configs/reports/configs/rl-reports.yml index a59511b9..28c570b4 100644 --- a/configs/reports/configs/rl-reports.yml +++ b/configs/reports/configs/rl-reports.yml @@ -819,7 +819,7 @@ ReportDefinitions: WHERE pd.businessservice = 'rl-services' orderby: ORDER BY pd.receiptdate DESC; - - reportName: RLdetailreport + - reportName: RLdetailreportdemo summary: Details of application in Rent & Lease service learning version: 1.0.0 moduleName: rainmaker-rl