# Impacted Areas for `lender_id = 2` Based on the codebase analysis, this is the complete list of files and specific line numbers where `lender_id` 2 is still hardcoded. Phase I ## 1. Controllers (`app/Http/Controllers/`) * **`Admin/AccountingController.php`** * Lines: 733 & 780 (/accounting-reports page not in use), 1033 & 1042 (TallySubInt job not in use), 4103 (getAccruedProfit not in use), 4416 & 4470 (getAccruedProfitOnEmail not in use as accrued_revenue campaign job not in current use), 8972 & 9189(getMonthlySubvention and generate_subv_inv job pending...) * **`Admin/TallySettlementController.php`** * Lines: 71 ✓(fetchSubventionInterestApplicationsInternal, i.e. the Get Data button on the tally-settlement page), 415 (exportSettlementApplications in excelToXMLExport in importExcelToXMLExport not in use) * **`Admin/EMICalculation.php`** * Lines: 685 (showEMIS in export_overdue_emis, export_emis and export_payment_file jobs not in use) * **`Admin/ConsumerApplicationController.php`** * Lines: 670 ✓, 677 ✓ (check if bs users can access/see avanse cases), 6277 ✓ (what about bnpl cases), 18637 (EMI due reminder email / SMS functionality is not used), 19267 ✓, 20213 , 20280 ✓, 20295 ✓ Phase II * **`Admin/ConsumerApplicationController.php`** , 25006 ✓, 34427 ✓, 34537 ✓, 34714 ✓, 34721 ✓, 34782 ✓, 34786 ✓, 38093 (cancelraazorpaylink not in use), 38108 (razorPaySettlement will be handled later), 38141 (payTMSettlement will be handled later), 38197 (razorPaySettlement will be handled later), 38273 & 38299 (getRazorPaylink code is handled), 39550 (alertCustomerForRejection needs to handled for blacksoil as the file format /csv/KM_Updated_NACH.pdf needs to be created for blacksoil), 39875 & 40203 (getCIBILPaymentReportV1 moved to cf-python-scripts), 42413 ✓ * **`Admin/ConsumerDocument.php`** * Line: 2275 ✓ Utkarsh(13) and JM(9) header used in consumerDocument (getLoanAgreeement -> downloadDocument) * **`FrontController.php`** * Lines: 1420 ✓, 6774 (razorpay_payment_response method call is commented out, i.e. not used) * **`Service/ServiceController.php`** * Lines: 576 ✓, 1709 ✓, 1743 ✓ * **`ConsumerAPI/ConsumerApiController.php`** * Line: 918 ✓ * **`ApiController.php`** * Lines: 734 ✓, 825 ✓, 2351 ✓ ## 2. Models, Services, Jobs & Commands (`app/`) * **`TradeAdvanceDisbursement.php`** * Line: 17 ✓ * **`Console/Commands/TallyBridge.php`** * Line: 503 ✓ * **`LoanHypothecation/LoanHypothecation.php`** * Line: 398 (internal_signee_for_footer not in use) * **`CampaignsJobProvider.php`** * Line: 289 (getAccruedRevenue not in use) * **`Method/JM/Response/Response.php`** * Line: 207 ✓ * **`Imports/TestImport.php`** (not in use) * Lines: 232, 1139, 1225 ## 3. Blade Views (`resources/views/`) * **`admin/consumer-application/index.blade.php`** * Line: 903 (no changes) * **`admin/layouts/footer.blade.php`** * Lines: 1045 ✓ and 1401 ✓ (lender rejection reason on lender 2) * **`admin/accounting/payment_v1.blade.php`** * Line: 1182 ✓(prepart payment to be enable for 20 and 2) * **`admin/documents/avanse/cam_report.blade.php`** * Line: 100 ✓ (2 and 20) * **`admin/documents/welcome_v2.blade.php`** * Line: 223 ✓ (2 and 20) * **`front/esign-congrats.blade.php`** * Line: 291 ✓