Forms - ஆர்பிஐ - Reserve Bank of India
Template ப்ராஸஸிங் செய்யும்போது பிழை ஏற்பட்டது.
The following has evaluated to null or missing: ==> languageUtil.get(locale,fileExtension) [in template "20099#20125#8997394" at line 392, column 91] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${languageUtil.get(locale, fileExtens... [in template "20099#20125#8997394" at line 392, column 89] ----
1<#assign
2 JournalArticleLocalServiceUtil=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
3 article=JournalArticleLocalServiceUtil.getLatestArticleByUrlTitle(themeDisplay.getScopeGroupId(), "exchange-control-manual-forms"
4 , 0) articleDisplay=JournalArticleLocalServiceUtil.getArticleDisplay(article.getGroupId(), article.getArticleId(), null , themeDisplay.getLanguageId(), themeDisplay) exchangeControlManualFormsContent=articleDisplay.getContent() />
5<#assign femaFormsList=[] />
6<#assign fxSwapAuctionFormsList=[] />
7<#assign governmentSecuritiesAuctionApplicationFormsList=[] />
8<#assign treasuryBillsFormsList=[] />
9<#assign nbfcFormsList=[] />
10<#assign savingsBondsFormsList=[] />
11<#assign othersList=[] />
12<#assign formsUCBsList=[] />
13<#assign formsARCsList=[] />
14<#assign formsHFCsList=[] />
15<#assign surveyList=[] />
16<#assign depositorEducationAndAwarenessFundList=[] />
17<#assign governmentSecuritiesMarketList=[] />
18<#assign femaFormsTitle="" />
19<#assign fxSwapAuctionFormsTitle="" />
20<#assign governmentSecuritiesAuctionApplicationFormsTitle="" />
21<#assign treasuryBillsFormsTitle="" />
22<#assign nbfcFormsTitle="" />
23<#assign savingsBondsFormsTitle="" />
24<#assign othersTitle="" />
25<#assign formsUCBsTitle="" />
26<#assign formsARCsTitle="" />
27<#assign formsHFCsTitle="" />
28<#assign surveyTitle="" />
29<#assign depositorEducationAndAwarenessFundTitle="" />
30<#assign governmentSecuritiesMarketTitle="" />
31<#assign currDate=.now?date />
32<#assign
33 AssetEntryLocalServiceUtil=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")
34 DLFileEntryLocalService=serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")
35 AssetCategoryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")
36 AssetVocabularyLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") />
37<#assign assetVocabularyFormCategory=AssetVocabularyLocalService.fetchGroupVocabulary(themeDisplay.getScopeGroupId(),"formcategorymaster") vocabularyId=assetVocabularyFormCategory.getVocabularyId() />
38<#if entries?has_content>
39 <#list entries as curEntry>
40 <#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(), curEntry.getClassPK()) />
41 <#if assetEntry.getClassName()=="com.liferay.journal.model.JournalArticle">
42 <#assign article=assetEntry.getAssetRenderer().getArticle() />
43 </#if>
44 <#assign assetCategories=assetEntry.getCategories() />
45 <#list assetCategories as assetCategory>
46 <#if vocabularyId?string==assetCategory.getVocabularyId()?string>
47 <#if assetCategory.getName()=="FEMA">
48 <#assign femaFormsList +=[curEntry]
49 femaFormsTitle= languageUtil.get(locale,"foreign-exchange-management-act-forms") />
50 <#break>
51 <#elseif assetCategory.getName()=="FX Swap Auction Forms">
52 <#assign fxSwapAuctionFormsList +=[curEntry]
53 fxSwapAuctionFormsTitle=assetCategory.getTitle(locale) />
54 <#break>
55 <#elseif assetCategory.getName()=="Government Securities Market">
56 <#assign governmentSecuritiesMarketList +=[curEntry]
57 governmentSecuritiesMarketTitle=assetCategory.getTitle(locale) />
58 <#break>
59 <#elseif assetCategory.getName()=="Depositor Education and Awareness Fund">
60 <#assign depositorEducationAndAwarenessFundList +=[curEntry]
61 depositorEducationAndAwarenessFundTitle=assetCategory.getTitle(locale) />
62 <#break>
63 <#elseif assetCategory.getName()=="Government Securities Auction Application Forms">
64 <#assign governmentSecuritiesAuctionApplicationFormsList +=[curEntry]
65 governmentSecuritiesAuctionApplicationFormsTitle=assetCategory.getTitle(locale) />
66 <#break>
67 <#elseif assetCategory.getName()=="Others ">
68 <#assign othersList +=[curEntry]
69 othersTitle= languageUtil.get(locale,"miscellaneous") />
70 <#break>
71 <#elseif assetCategory.getName()=="Treasury Bills Forms">
72 <#assign treasuryBillsFormsList +=[curEntry]
73 treasuryBillsFormsTitle=assetCategory.getTitle(locale) />
74 <#break>
75 <#elseif assetCategory.getName()=="NBFC Forms">
76 <#assign nbfcFormsList +=[curEntry]
77 nbfcFormsTitle=assetCategory.getTitle(locale) />
78 <#break>
79 <#elseif assetCategory.getName()=="Savings Bonds Forms">
80 <#assign savingsBondsFormsList +=[curEntry]
81 savingsBondsFormsTitle=assetCategory.getTitle(locale) />
82 <#break>
83 <#elseif assetCategory.getName()=="Forms ARCs">
84 <#assign formsARCsList +=[curEntry]
85 formsARCsTitle=assetCategory.getTitle(locale) />
86 <#break>
87 <#elseif assetCategory.getName()=="Forms HFCs">
88 <#assign formsHFCsList +=[curEntry]
89 formsHFCsTitle=assetCategory.getTitle(locale) />
90 <#break>
91 <#elseif assetCategory.getName()=="Forms UCBs">
92 <#assign formsUCBsList +=[curEntry]
93 formsUCBsTitle=assetCategory.getTitle(locale) />
94 <#break>
95 <#elseif assetCategory.getName()=="Survey">
96 <#assign surveyList +=[curEntry]
97 surveyTitle=assetCategory.getTitle(locale) />
98 <#break>
99 <#elseif assetCategory.getName()=="Miscellaneous">
100 <#assign surveyList +=[curEntry]
101 surveyTitle=assetCategory.getTitle(locale) />
102 <#break>
103 </#if>
104 </#if>
105 </#list>
106 </#list>
107</#if>
108<#function getAsset currentEntry>
109 <#local assetEntry=AssetEntryLocalServiceUtil.fetchEntry(currentEntry.getClassName(), currentEntry.getClassPK()) />
110 <#if assetEntry.getClassName()=="com.liferay.journal.model.JournalArticle">
111 <#local article=assetEntry.getAssetRenderer().getArticle()>
112 </#if>
113 <#return article>
114</#function>
115<#assign listOfAllValues={ femaFormsTitle:femaFormsList,formsARCsTitle : formsARCsList,formsHFCsTitle : formsHFCsList, formsUCBsTitle : formsUCBsList, fxSwapAuctionFormsTitle
116 :fxSwapAuctionFormsList, governmentSecuritiesAuctionApplicationFormsTitle:
117 governmentSecuritiesAuctionApplicationFormsList, nbfcFormsTitle : nbfcFormsList, savingsBondsFormsTitle :
118 savingsBondsFormsList, surveyTitle : surveyList, treasuryBillsFormsTitle : treasuryBillsFormsList,depositorEducationAndAwarenessFundTitle:depositorEducationAndAwarenessFundList,governmentSecuritiesMarketTitle:governmentSecuritiesMarketList,othersTitle :
119 othersList } />
120<#assign keys=listOfAllValues?keys>
121 <div class="full-width rbi-forms-wrapper dynamic-resize">
122 <div class="container">
123 <div class="rbi-accordion rbi-forms-accordion">
124 <div class="expant-collapse-btn-wrapper">
125 <button id="openAll" class="open-all">
126 ${languageUtil.get(locale,"expand-all")}
127 </button>
128 <button id="closeAll" class="open-all" style="display: none;">
129 ${languageUtil.get(locale,"collapse-all")}
130 </button>
131 </div>
132 <div id="accordion">
133 <#assign index=0 />
134 <#list keys as key>
135 <#if key?has_content>
136 <div class="card collapsed-hover">
137 <#assign index=index + 1 />
138 <div class="card-header" id="Accordionheading">
139 <div class="mb-0 card-header-content position-relative">
140 <button class="btn btn-link accordion-title" data-toggle="collapse"
141 data-target="#accordion-${index}" aria-expanded="true"
142 aria-controls="accordion-${index}">
143 <span class="accordion-title-content">
144 ${key}
145 </span>
146 <span class="toogle-indicator">+</span>
147 </button>
148 <div class="custom-tooltip" style="display: none;">
149 <div class="tooltip-arrow-up"></div>
150 <div class="tooltip-content">
151 ${key}
152 </div>
153 </div>
154 </div>
155 </div>
156 <div id="accordion-${index}" class="collapse" aria-labelledby="Accordionheading">
157 <div class="Notification-content-wrap full-width">
158 <div class="container-fluid">
159 <div class="col-12">
160 <div class="notifications-row-wrapper">
161 <div class="row">
162 <#list listOfAllValues[key]
163 as faqValue>
164 <#assign pdfLink="" docLink="" pdfURL="" docURL="" docUUID="" UUID="" FID="" docFID=""/>
165 <#assign redirectURL=faqValue.getViewURL()?split('?')[0]
166 article=getAsset(faqValue)
167 content=saxReaderUtil.read(article.getContentByLocale(locale))
168 title=article.getTitle(locale)
169 indexTitle=content.valueOf("//dynamic-element[@name='Text72953561']/dynamic-content")
170 indexLink=content.valueOf("//dynamic-element[@name='Text86928309']/dynamic-content")
171 pdfLink=article.getExpandoBridge().getAttribute("pdf-url")
172 docLink=article.getExpandoBridge().getAttribute("doc-url") />
173 <#if pdfLink?has_content>
174 <#list pdfLink?keys as key>
175 <#if key==locale>
176 <#assign pdfURL=pdfLink?values[key_index] />
177 </#if>
178 <#if !pdfURL?has_content && key == "en_US">
179 <#assign pdfURL=pdfLink?values[key_index] />
180 </#if>
181 </#list>
182 </#if>
183 <#if docLink?has_content>
184 <#list docLink?keys as key>
185 <#if key==locale>
186 <#assign docURL=docLink?values[key_index] />
187 </#if>
188 <#if !docURL?has_content && key == "en_US">
189 <#assign docURL=docLink?values[key_index] />
190 </#if>
191 </#list>
192 </#if>
193 <#if pdfURL?has_content>
194
195 <#if pdfURL?contains("fileEntryId")>
196
197 <#list pdfURL?split("?") as sValue>
198 <#if sValue?is_last>
199
200 <#list sValue?split("=") as fid>
201
202 <#if fid?is_last>
203
204 <#assign FID=fid />
205 </#if>
206 </#list>
207 </#if>
208 </#list>
209
210
211 <#else>
212
213 <#list pdfURL?split("/") as sValue>
214 <#if sValue?is_last>
215 <#list sValue?split("?") as uuid>
216 <#if uuid?is_first>
217 <#assign UUID=uuid />
218 </#if>
219 </#list>
220 </#if>
221 </#list>
222 </#if>
223 </#if>
224
225
226 <#if docURL?has_content>
227
228 <#if docURL?contains("fileEntryId")>
229
230 <#list docURL?split("?") as sValue>
231 <#if sValue?is_last>
232
233 <#list sValue?split("=") as fid>
234
235 <#if fid?is_last>
236
237 <#assign docFID=fid />
238 </#if>
239 </#list>
240 </#if>
241 </#list>
242
243
244 <#else>
245
246 <#list docURL?split("/") as sValue>
247 <#if sValue?is_last>
248 <#list sValue?split("?") as uuid>
249 <#if uuid?is_first>
250 <#assign docUUID=uuid />
251 </#if>
252 </#list>
253 </#if>
254 </#list>
255 </#if>
256 </#if>
257
258
259 <#if UUID?has_content || FID?has_content>
260
261
262 <#attempt>
263
264 <#if FID?has_content>
265 <#assign dlFileEntry=DLFileEntryLocalService.fetchDLFileEntry(FID?number) />
266 <#else>
267 <#assign dlFileEntry=DLFileEntryLocalService.fetchFileEntry(UUID,groupId?number)
268 fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",
269 dlFileEntry.getFileEntryId())/>
270 </#if>
271 <#assign fileSize=dlFileEntry.getSize()/>
272
273 <#if UUID?has_content>
274 <#assign pdfURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)/>
275 <#assign pdfURL=pdfURL?replace("/"+UUID,"") />
276 </#if>
277 <#recover>
278 </#attempt>
279 </#if>
280
281
282
283 <#if docUUID?has_content || docFID?has_content>
284
285
286 <#attempt>
287
288 <#if docFID?has_content>
289 <#assign docDLFileEntry=DLFileEntryLocalService.fetchDLFileEntry(docFID?number) />
290 <#else>
291 <#assign docDLFileEntry=DLFileEntryLocalService.fetchFileEntry(docUUID,groupId?number)
292 docfileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",
293 docDLFileEntry.getFileEntryId())/>
294 </#if>
295 <#assign docFileSize=docDLFileEntry.getSize()
296 fileExtension=docDLFileEntry.getExtension()/>
297
298 <#if docUUID?has_content>
299 <#assign docURL=docfileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)/>
300 <#assign docURL=docURL?replace("/"+docUUID,"") />
301 </#if>
302 <#recover>
303 </#attempt>
304 </#if>
305
306
307
308 <#assign textDecor="" />
309 <#if !indexLink?has_content>
310 <#assign textDecor="text-decoration-none"/>
311 </#if>
312 <div class="col-12">
313 <div class="notification-row-each forms-tooltip">
314 <div class="notification-row-each-inner form-wo-link">
315 <div
316 class="notifications-heading c-tooltips position-relative ${textDecor}">
317 <#if !indexLink?has_content>
318 <span
319 class="mtm_list_item_heading truncatedContent">
320 <#if indexTitle?has_content>
321 ${indexTitle?replace('<[^>]+>','','r')}
322 <#else>
323 ${title}
324 </#if>
325 </span>
326 <#else>
327 <a href="${indexLink}" class="mtm_list_item_heading">
328 <span
329 class="mtm_list_item_heading truncatedContent">
330 <#if indexTitle?has_content>
331 ${indexTitle?replace('<[^>]+>','','r')}
332 <#else>
333 ${title}
334 </#if>
335 </span>
336 </a>
337 </#if>
338 </div>
339 <div class="custom-tooltip">
340 <div class="tooltip-arrow-up"></div>
341 <div class="tooltip-content font-resized">
342 <#if indexTitle?has_content>
343 ${indexTitle?replace('<[^>]+>','','r')}
344 <#else>
345 ${title}
346 </#if>
347 </div>
348 </div>
349 <div class="btn-wrapper-row">
350 <#if pdfURL?? && pdfURL?has_content>
351 <div class="btn-wrap">
352 <#if UUID?has_content>
353 <a href="${pdfURL?replace('/'+UUID,'')?split('?')[0]}"
354 target="_blank"
355 class="matomo_download ">
356 <img src="/documents/70233/0/fileDownload.svg"
357 class="downloadFile"
358 alt="Download File"
359 title="Download File">
360 ${languageUtil.get(locale,'pdf')} (<span
361 class="fileSize">
362 ${fileSize}
363 </span>
364 )
365 </a>
366 <#else>
367 <a href="${pdfURL}"
368 target="_blank"
369 class="matomo_download ">
370 <img src="/documents/70233/0/fileDownload.svg"
371 class="downloadFile"
372 alt="Download File"
373 title="Download File">
374 ${languageUtil.get(locale,'pdf')} (<span
375 class="fileSize">
376 ${fileSize}
377 </span>
378 )
379 </a>
380 </#if>
381 </div>
382 </#if>
383 <#if docURL?? && docURL?has_content>
384 <div class="btn-wrap">
385 <a href="${docURL}"
386 target="_blank"
387 class="matomo_download ">
388 <img src="/documents/70233/0/fileDownload.svg"
389 class="downloadFile"
390 alt="Download File"
391 title="Download File">
392 ${languageUtil.get(locale,fileExtension)} (<span
393 class="fileSize">
394 ${docFileSize}
395 </span>
396 )
397 </a>
398 </div>
399 </#if>
400 </div>
401 </div>
402 </div>
403 </div>
404 </#list>
405 </div>
406 <div class="content exchange-control-manual">
407 <#if key= languageUtil.get(locale,"foreign-exchange-management-act-forms")>
408 ${exchangeControlManualFormsContent}
409 </#if>
410 </div>
411 </div>
412 </div>
413 </div>
414 </div>
415 </div>
416 </div>
417 </#if>
418 </#list>
419 </div>
420 </div>
421 </div>
422 </div>
423 <script>
424 $(document).ready(function() {
425 $(".fileSize").each(function() {
426 var fileSize = $(this).html()
427 if (fileSize != "") {
428 $(this).html(formatFileSize(parseInt(fileSize), 2))
429 }
430 });
431
432 function formatFileSize(bytes, decimalPoint) {
433 if (bytes == 0)
434 return '0 Bytes';
435 var k = 1024,
436 dm = decimalPoint || 2,
437 sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
438 i = Math.floor(Math.log(bytes) / Math.log(k));
439 return (parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]);
440 }
441 });
442 </script>
443 <style>
444 #fm {
445 display: none;
446 }
447 a.custom-hover:hover {
448 text-decoration: underline;
449}
450
451 </style>
கடைசியாக புதுப்பிக்கப்பட்ட பக்கம்: ஜூலை 22, 2025
இந்த பக்கம் உதவியாக இருந்ததா?