Punching screen controller created - migrated initview and addcase endpoints

This commit is contained in:
2026-08-01 19:16:24 +05:30
parent 0e5de99f55
commit 1adcc04efc
109 changed files with 2918 additions and 661 deletions

View File

@@ -491,7 +491,7 @@ Query509!C0L!procedure!C0L!select changeuserstatus(val0,val1)
Query510!C0L!select!C0L!select u.user_id,u.loginid,u.displayname,u.group_id,u.emailid from app_user u where u.user_id=val0
Query511!C0L!select!C0L!select group_id,name from user_group where isactive = 1 and group_id in (select c.child_id from user_group_childs c where c.group_id = val0)
Query512!C0L!procedure!C0L!select updateuser(val0,'val1','val2',val3,'val4',val5,val6,val7,val8)
Query513!C0L!procedure!C0L!select startmaintenance('val0',val1,'val2')
Query513!C0L!procedure!C0L!select startmaintenance(?,?,?)
Query514!C0L!select!C0L!select m.uuid,mc.portname,mc.mvcode,mc.applno,mc.customername,mc.address,mc.visit,mc.uid from mnimble_cases mc,main m where mc.submittedon is not null and mc.case_id = m.case_id and (lower(mc.mvcode) = lower('val0') or lower(mc.applno) = lower('val0'))
Query515!C0L!procedure!C0L!select pendingmnimblecase(val0,'val1',val2)
Query516!C0L!select!C0L!select uid,emailid from emailids
@@ -515,4 +515,4 @@ Query533!C0L!select!C0L!select uuid,product,maincompany,bkbranchname,to_char(rec
Query534!C0L!select!C0L!select uuid,product,maincompany,bkbranchname,to_char(receivedate,'DD/MM/YYYY') as recdate,applno,upper(customername) cname,bank_branch_id,upper(name) as pname1,'RESIDENCE VERIFICATION REPORT' as label1,'Agency' as label2,upper(maincompany) as agencyname, 'Received Date' as label4,to_char(receivedate,'DD/MM/YYYY') as recdate,'Application No' as label5,upper(applno) as applno2,'Product' as label6,upper(product) as product1,'Landmark' as label7,upper(landmark) as loanamount,'Visit Date' as label8,visitdate,'Visit Time' as label9,visittime,'Report Date' as label10,to_char(sdoneon,'DD/MM/YYYY') as sdoneon,'Applicant''s Name' as label11,upper(customername) as custname1,'Address' as label13,upper(raddr) as raddr,'Met Person' as label14,upper(metperson) as metperson,'Relation' as label15,(case when upper(metrela)='OTHERS' then upper(metrealoth) else upper(metrela) end) as metrela,'Ownership' as label16,(case when upper(rowner)='OTHERS' then upper(owneroth) else upper(rowner) end) as rowner,'Stay at Curr Address' as label17,coalesce(((case when (yrsadd<>'0' and yrsadd<>'') then yrsadd||' YEARS(S) ' else '' end)||(case when (mnthadd <> '0' and mnthadd <> '') then mnthadd||' MONTH(S)' else '' end)),'NA') as rstay,'Marital Status' as label18,upper(maritial) as marital,'Total Family Members' as label19,totmem,'Total Earning Members' as label20,earning,'Spouse Working' as label21,upper(spswork) as spswork,'Spouse Employment Details' as label22,upper(spsempdet) as spsempdet,'Residence Proof' as label23,upper(proofdet) as resproof,'Ease of Location' as label24,upper(raccess) as raccess,'Locality' as label25,(case when upper(locality)='OTHERS' then upper(locaoth) else upper(locality) end) as locality,'Residence Type' as lblrtype,(case when upper(restype)='OTHERS' then upper(typeoth) else upper(restype) end) as restype,'Name Plate' as label26,(case when upper(nameplate)='YES' then upper(platedet) else upper(nameplate) end) nameplate,'Neighbour Reference' as label27,(case when upper(field30_9)='-1' then 'NA' else upper(field30_9) end) as neref,'Neighbour Feedback' as label28,upper(fieldtext_1) as nerem,'Any Political Links' as label29,upper(political) as political,'If Yes, Details' as label30,upper(politicdet) as politicdet,'Verifier Remarks' as label31,upper(verremarks) as verrem,'Final Status' as label33,upper(status) as status,'Remarks' as label34,upper(remarks) as remarks,'Scanned By' as label35,upper(reportdoneby),'Verifier Name' as label35,upper(rvername),'Agency Seal','images/signs/'||sdoneby||'.png' as singature,(case when portfolio_id=19 OR portfolio_id=43 then 'Photographs' else '{SK!PTH15D@TA}' end) as lblphotographs,coalesce((case when portfolio_id=19 OR portfolio_id=43 then sublist('select docpath as field from tagged_docs where isdeleted=0 and doctype=''REP_ATTACH'' and vistype=''R'' and uuid='''||r.uuid||'''',',') else '{SK!PTH15D@TA}' end),'NA') as photographs from banklist_main_residence r where (val0) val1
Query535!C0L!select!C0L!select uuid,product,maincompany,bkbranchname,to_char(receivedate,'DD/MM/YYYY') as recdate,applno,upper(customername) cname,bank_branch_id,upper(name) as pname1,'OFFICE VERIFICATION REPORT' as label1,'Agency' as label2,upper(maincompany) as agenname,'Received Date' as label4,to_char(receivedate,'DD/MM/YYYY') as receivedate,'Application No' as label5,upper(applno) as applno1,'Product' as label6,upper(product) as product1,'Landmark' as label7,'' as landmark,'Visit Date' as label8,visitdate,'Visit time' as label9,visittime,'Report Date' as label10,to_char(sdoneon,'DD/MM/YYYY') as sdoneon,'Applicants Name' as label11,upper(customername) as customername2,'Occupation' as label12,upper(category) as category1,'Address' as label13,upper(oaddr) as oaddr,'Met Person' as label14,upper(metperson) as metperson,'Relation' as label15,(case when upper(metrela)='OTHERS' then upper(metrealoth) else upper(metrela) end) as metrela,'Ownership' as label16,(case when upper(ownership)='OTHERS' then upper(owneroth) else upper(ownership) end) as ownership,'Job/Biz at Curr Add' as label17,((case when (yrsjob<>'0' and yrsjob<>'') then yrsjob||' YEARS(S) ' else '' end)||(case when (mnthjob<> '0' and mnthjob <> '') then mnthjob||' MONTH(S)' else '' end)) as yrsatjob,'Designation'as label18,(case when upper(appdesign)='OTHERS' then upper(appdesignoth) else upper(appdesign) end) as appdesign,'Department' as label19,upper(appdept) as appdept,'Reporting To' as label20,upper(reportingto) as reportingto,'Salary' as label21,upper(saldetail) as saldetail,'NOB' as label22,(case when upper(compprof)='OTHERS' then upper(compprofoth) else upper(compprof) end) as compprof,'Board Seen' as lblboardseen, (case when bizboard='-1' then 'NA' else upper(bizboard) end) as bizboard,'Ease of Access' as label27,upper(easeloc) as easeloc,'Locality' as label28,(case when upper(locality)='OTHERS' then upper(locaoth) else upper(locality) end) as locality,'Organisation Type' as label29,upper(busitype) as orgtype,'Neighbour Reference' as label30,(case when upper(field30_9)='-1' then 'NA' else upper(field30_9) end) as neref,'Neighbour Feedback' as label31,upper(fieldtext_1) as negrem,'Final Status' as label36,upper(status) as status,'Remarks' as label37,upper(remarks) as remarks,'Scanned By' as label38,upper(reportdoneby) as doneby,'Verifier Name' as lblvername, upper(overname) as overname, 'Agency Seal'as lbl,'images/signs/'||sdoneby||'.png' as singature,(case when portfolio_id=19 OR portfolio_id=43 then 'Photographs' else '{SK!PTH15D@TA}' end) as lblphotographs,coalesce((case when portfolio_id=19 OR portfolio_id=43 then sublist('select docpath as field from tagged_docs where isdeleted=0 and doctype=''REP_ATTACH'' and vistype=''O'' and uuid='''||o.uuid||'''',',') else '{SK!PTH15D@TA}' end),'NA') as photographs from banklist_main_office o where (val0) val1
Query536!C0L!select!C0L!select uuid,product,maincompany,bkbranchname,to_char(receivedate,'DD/MM/YYYY') as recdate,applno,upper(customername) as cname,bank_branch_id,'MATRIX - Residence Report','Client Name:- '||upper(name),'Product:- '||upper(product),'Application ID:- '||upper(applno) as applno1,'Applicant Name:- '||upper(customername) as cname1,'Verification Type:-','Residence:','images/tick.gif' as chkresidence,'RCO:',(case when upper(Field15_1)='YES' then 'images/tick.gif' else 'images/untick.jpg' end) as chkrco,'Office:','images/untick.jpg' as chkoffice,'Date & Time of Visit: - '||coalesce(visitdate||' ','')||coalesce(visittime,''),'Address of Visit:','Residence Address: -',upper(raddr) as raddr,'Office Address: -','','Remarks & Observations:',upper(remarks) as remarks,'Status:',upper(status),'Check List:','Residence:','1.','Stay Confirm:','Yes',(case when upper(Field30_3)='YES' then 'images/tick.gif' else 'images/untick.jpg' end),'No',(case when upper(Field30_3)='NO' then 'images/tick.gif' else 'images/untick.jpg' end),'2.','Location Type:','Slum',(case when upper(locality)='SLUM' then 'images/tick.gif' else 'images/untick.jpg' end),'Chawl',(case when upper(locality)='CHAWL TYPE' then 'images/tick.gif' else 'images/untick.jpg' end),'UMC',(case when upper(locality)='UPPER MIDDLE CLASS' then 'images/tick.gif' else 'images/untick.jpg' end),'LMC',(case when upper(locality)='LOWER MIDDLE CLASS' then 'images/tick.gif' else 'images/untick.jpg' end),'','Com-Dom',(case when upper(locality)='COM-DOM' then 'images/tick.gif' else 'images/untick.jpg' end),'Poor',(case when upper(locality)='POOR' then 'images/tick.gif' else 'images/untick.jpg' end),'3.','TPC Confirm:','Yes',(case when upper(Field30_9)='POSITIVE' then 'images/tick.gif' else 'images/untick.jpg' end),'No',(case when upper(Field30_9)='NEGATIVE' then 'images/tick.gif' else 'images/untick.jpg' end),'4.','Name Board:',upper(platedet),'','Business:','1.','Working Confirm:','Yes','images/untick.jpg','No','images/untick.jpg','2.','Name board Match with the application details','Yes','images/untick.jpg','No','images/untick.jpg','3.','Nature of Business:','','','Field Executive Name: - '||upper(rvername) as vername,'Reports Prepared By: - '||upper(sdonebyname),'Manager/Authority Name & Sign:','images/signs/'||supervisor||'.png' as singature,(case portfolio_id when 194 then 'Images:' else '{SK!PTH15D@TA}' end) as lblphoto,(case portfolio_id when 194 then sublist('select docpath as field from tagged_docs where isdeleted=0 and doctype=''REP_ATTACH'' and vistype=''R'' and uuid='''||r.uuid||'''',',') else '{SK!PTH15D@TA}' end) as photographs from banklist_main_residence r where (val0) val1
Query537!C0L!select!C0L!select uuid,product,maincompany,bkbranchname,to_char(receivedate,'DD/MM/YYYY') as recdate,applno,upper(customername) as cname,bank_branch_id,'MATRIX - Office Report','Client Name:- '||upper(name),'Product:- '||upper(product),'Application ID:- '||upper(applno) as applno1,'Applicant Name:- '||upper(customername) as cname1,'Verification Type:-','Residence:','images/untick.jpg' as chkresidence,'RCO:',(case when upper(Field15_1)='YES' then 'images/tick.gif' else 'images/untick.jpg' end) as chkrco,'Office:','images/tick.gif' as chkoffice,'Date & Time of Visit: - '||coalesce(visitdate||' ','')||coalesce(visittime,''),'Address of Visit:','Residence Address: -','' as raddr,'Office Address: -',upper(oaddr) as oaddr,'Remarks & Observations:',upper(remarks) as remarks,'Status:',upper(status),'Check List:','Residence:','1.','Stay Confirm:','Yes','images/untick.jpg','No','images/untick.jpg','2.','Location Type:','Slum','images/untick.jpg','Chawl','images/untick.jpg','UMC','images/untick.jpg','LMC','images/untick.jpg','','Com-Dom','images/untick.jpg','Poor','images/untick.jpg','3.','TPC Confirm:','Yes',(case when upper(Field30_9)='POSITIVE' then 'images/tick.gif' else 'images/untick.jpg' end),'No',(case when upper(Field30_9) <> 'POSITIVE' AND upper(Field30_9) <> 'NA' then 'images/tick.gif' else 'images/untick.jpg' end),'4.','Name Board:','','','Business:','1.','Working Confirm:','Yes',(case when upper(Field30_22)='YES' then 'images/tick.gif' else 'images/untick.jpg' end),'No',(case when upper(Field30_22) <> 'YES' then 'images/tick.gif' else 'images/untick.jpg' end),'2.','Name board Match with the application details','Yes',(case when upper(Field30_2) = 'YES' then 'images/tick.gif' else 'images/untick.jpg' end),'No',(case when upper(Field30_2) <> 'YES' then 'images/tick.gif' else 'images/untick.jpg' end),'3.','Nature of Business:',upper(proddealt),'','Field Executive Name: - '||upper(overname) as vername,'Reports Prepared By: - '||upper(sdonebyname),'Manager/Authority Name & Sign:','images/signs/'||supervisor||'.png' as singature,(case portfolio_id when 194 then 'Images:' else '{SK!PTH15D@TA}' end) as lblphoto,(case portfolio_id when 194 then sublist('select docpath as field from tagged_docs where isdeleted=0 and doctype=''REP_ATTACH'' and vistype=''O'' and uuid='''||o.uuid||'''',',') else '{SK!PTH15D@TA}' end) as photographs from banklist_main_office o where (val0) val1
Query537!C0L!select!C0L!select uuid,product,maincompany,bkbranchname,to_char(receivedate,'DD/MM/YYYY') as recdate,applno,upper(customername) as cname,bank_branch_id,'MATRIX - Office Report','Client Name:- '||upper(name),'Product:- '||upper(product),'Application ID:- '||upper(applno) as applno1,'Applicant Name:- '||upper(customername) as cname1,'Verification Type:-','Residence:','images/untick.jpg' as chkresidence,'RCO:',(case when upper(Field15_1)='YES' then 'images/tick.gif' else 'images/untick.jpg' end) as chkrco,'Office:','images/tick.gif' as chkoffice,'Date & Time of Visit: - '||coalesce(visitdate||' ','')||coalesce(visittime,''),'Address of Visit:','Residence Address: -','' as raddr,'Office Address: -',upper(oaddr) as oaddr,'Remarks & Observations:',upper(remarks) as remarks,'Status:',upper(status),'Check List:','Residence:','1.','Stay Confirm:','Yes','images/untick.jpg','No','images/untick.jpg','2.','Location Type:','Slum','images/untick.jpg','Chawl','images/untick.jpg','UMC','images/untick.jpg','LMC','images/untick.jpg','','Com-Dom','images/untick.jpg','Poor','images/untick.jpg','3.','TPC Confirm:','Yes',(case when upper(Field30_9)='POSITIVE' then 'images/tick.gif' else 'images/untick.jpg' end),'No',(case when upper(Field30_9) <> 'POSITIVE' AND upper(Field30_9) <> 'NA' then 'images/tick.gif' else 'images/untick.jpg' end),'4.','Name Board:','','','Business:','1.','Working Confirm:','Yes',(case when upper(Field30_22)='YES' then 'images/tick.gif' else 'images/untick.jpg' end),'No',(case when upper(Field30_22) <> 'YES' then 'images/tick.gif' else 'images/untick.jpg' end),'2.','Name board Match with the application details','Yes',(case when upper(Field30_2) = 'YES' then 'images/tick.gif' else 'images/untick.jpg' end),'No',(case when upper(Field30_2) <> 'YES' then 'images/tick.gif' else 'images/untick.jpg' end),'3.','Nature of Business:',upper(proddealt),'','Field Executive Name: - '||upper(overname) as vername,'Reports Prepared By: - '||upper(sdonebyname),'Manager/Authority Name & Sign:','images/signs/'||supervisor||'.png' as singature,(case portfolio_id when 194 then 'Images:' else '{SK!PTH15D@TA}' end) as lblphoto,(case portfolio_id when 194 then sublist('select docpath as field from tagged_docs where isdeleted=0 and doctype=''REP_ATTACH'' and vistype=''O'' and uuid='''||o.uuid||'''',',') else '{SK!PTH15D@TA}' end) as photographs from banklist_main_office o where (val0) val1