Migration:
Two new columns added for TL Renewal flow. applicationType and workflowCode. To deploy TL Renewal in environment where TL is already running , these 2 columns needs to be migrated to eg_tl_tradelicense and eg_tl_tradelicense_audit table. The following query does this migration:
...
Hence 2 new Business service configs are pushed for each flow respectively.
Integration changes:
...
EDITRENEWAL : <domain>/egov-workflow-v2/egov-wf/businessservice/_search?tenantId=pb.amritsar&businessServices=EDITRENEWAL
DIRECTRENEWAL : <domain>/egov-workflow-v2/egov-wf/
...
businessservice/_
...
For Citizen Sendback:
When the action SENDBACKTOCITIZEN is called on the entity the module has to enrich the assignes with the uuids of the owners and creator of the entity
MDMS:
...
search?tenantId=pb.amritsar&businessServices=DIRECTRENEWAL
mdms:
Code Block |
---|
{
"businessService": "TL.RENEWAL",
"code": "TL.RENEWAL",
"collectionModesNotAllowed": [
"DD"
],
"partPaymentAllowed": false,
"isAdvanceAllowed": false,
"isVoucherCreationEnabled": true,
"isActive": true
}, |
Code Block |
---|
{
"category": "FEE",
"service": "TL",
"name": "TL Renewal Tax",
"code": "TL_RENEWAL_TAX",
"isDebit": false,
"isActualDemand": true,
"order": "2",
"isRequired": false
},
{
"category": "REBATE",
"service": "TL",
"name": "TL Renewal Rebate",
"code": "TL_RENEWAL_REBATE",
"isDebit": true,
"isActualDemand": false,
"order": "0",
"isRequired": false
},
{
"category": "PENALTY",
"service": "TL",
"name": "TL Renewal Penalty",
"code": "TL_RENEWAL_PENALTY",
"isDebit": false,
"isActualDemand": false,
"order": "1",
"isRequired": false
},
{
"category": "TAX",
"service": "TL",
"name": "TL Renewal adhoc rebate",
"code": "TL_RENEWAL_ADHOC_REBATE",
"isDebit": true,
"isActualDemand": false,
"order": "0",
"isRequired": false
},
{
"category": "TAX",
"service": "TL",
"name": "TL Renewal adhoc penalty",
"code": "TL_RENEWAL_ADHOC_PENALTY",
"isDebit": false,
"isActualDemand": false,
"order": "1",
"isRequired": false
} |
Code Block |
---|
{
"fromDate": 1585679399000,
"toDate": 1617172199000,
"periodCycle": "ANNUAL",
"service": "TL",
"code": "TLRENEWAL2020",
"financialYear": "2020-21"
}, |
https://raw.githubusercontent.com/egovernments/egov-mdms-data/
...
master/data/pb/
...
egf-master/
...
Frontend:
COMMON -
APPROVED Application configured with 2 buttons “EDIT FOR RENEWAL” and “SUBMIT FOR RENEWAL” and these button will be blocked once the renewal process gets initiated.
SUBMIT FOR RENEWAL- Directly Submitted without editing.
EDIT FOR RENEWAL- Once can edit the specific fields while few fields will be blocked for editing. Extraa documents can be uploaded also he can change already uploaded documents.(Configured via MDMS). In flow instead of old application number licence number will be shown and the next financial year will be auto populated.
TL certificate is configured for renewal application.
Employee
Search Screen: Application type is added as a new filter for application search and In search results Financial year and Application types are added.
CITIZEN:
...
FinancialYear.json
Code Block |
---|
{
"id": "7",
"tenantId": "pb",
"finYearRange": "2020-21",
"name": "2020-21",
"code": "2020-21",
"startingDate": 1585679399000,
"endingDate": 1617172199000,
"active": true,
"isActiveForPosting": false,
"isClosed": false,
"transferClosingBalance": false,
"module": "TL"
}, |
application.properties :
EDITRENEWAL
& DIRECTRENEWAL
businessService codes are added.
Code Block |
---|
create.directRenewal.workflow.name=DIRECTRENEWAL
create.editRenewal.workflow.name=EDITRENEWAL |
TradelicenseSearcCriteria.java
licenseNumber variable is now list if String. Hence licenseNumber is replaced everywhere with licenseNumbers
Code Block |
---|
@JsonProperty("licenseNumbers")
private List<String> licenseNumbers; |
TLQueryBuilder.java
Code Block |
---|
List<String> licenseNumbers = criteria.getLicenseNumbers();
if (!CollectionUtils.isEmpty(licenseNumbers)) {
addClauseIfRequired(preparedStmtList, builder);
builder.append(" tl.licensenumber IN (").append(createQuery(licenseNumbers)).append(")");
addToPreparedStatement(preparedStmtList, licenseNumbers);
} |
Frontend:
All APPROVED and EXPIRED applications are configured with 2 buttons ‘EDIT FOR RENEWAL' and 'SUBMIT FOR RENEWAL’ .
Edit for Renewal : Will be redirected to edit flow , where Citizen/ Counter employee have acces to change specific fields. New set of documents can be updated for Renewal flow, which is configured in mdms.
Documents Configuration :
https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/TradeLicense/TradeType.json
License Number will be shown in the header.
Direct Renewal : Will be applied directly for Renewal. Which send application to PENDINGPAYMENT status.
SUBMIT FOR RENEWAL- Directly Submitted without editing.
...
TL Certificate configuration :
https://github.com/egovernments/configs/blob/master/pdf-service/data-config/tlrenewalcertificate.json - Data Config
https://github.com/egovernments/configs/blob/master/pdf-service/format-config/tlrenewalcertificate.json - Format Config
Employee :
Search Screen :
'Application Type' search param added.
...
Search Results have 2 more columns now.
Financial Year and Application Type :
...
CITIZEN:
On approved application RENEWAL BUTTON is vible to citizen.
...