title Quyết định

Test Title Auto
Thứ tư, 17/06/2026, 04:00 SA
Cỡ chữ Màu chữ image
Có lỗi xảy ra trong quá trình xử lý biểu mẫu.
Java method "com.liferay.portal.kernel.util.DateUtil_IW.getDate(Date, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@21b00350"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${dateUtil.getDate(Ngy6k8l_DateObj, "...  [in template "20115#20151#133261" at line 98, column 65]
----
1<style scope> 
2	.style-padding-bottom-attachFile{ 
3		padding-bottom: 10px !important; 
4
5	.doc-gen-bor-dott{ 
6	    border: none; 
7	    margin-bottom: 20px; 
8
9	 
10	.portlet-title-text span{ 
11	    font-size: 14px; 
12        font-weight: bold; 
13        color: white; 
14        font-family: Verdana; 
15
16	.portlet-title-text img{ 
17	    display: none; 
18
19	.row-top-panel{ 
20	    display: none; 
21
22	.h2-header-title{ 
23	    display: none; 
24
25	.portlet-content{ 
26	    border: none; 
27
28</style> 
29<#assign HttpUtil = staticUtil["com.liferay.portal.kernel.util.HttpUtil"] /> 
30<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
31<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
32<div class="doc-gen-body-detail"> 
33<div class="doc-gen-cover-tt" id="content-article-swt-id-voice"> 
34	<div class="doc-gen-bor-dott doc-gen-row" id="doc-gen-detail-title"> 
35		<div class="col-xs-12 col-sm-6 doc-gen-row-bttom doc-gen-padd-no"> 
36			<span class="doc-gen-font-bold" style="font-weight: bold;">Số kí hiệu: </span> 
37			<span class="doc-gen-font-bold">${code.getData()}</span> 
38		</div> 
39	</div> 
40	<div class="doc-gen-row doc-gen-bor-dott"> 
41	 
42	    <#assign description = .vars["reserved-article-description"].data ?trim > 
43	    <#assign docgenrowbttom = "" > 
44	    <#if !validator.isBlank(description)> 
45	         <#assign docgenrowbttom = "doc-gen-row-bttom" > 
46	    </#if> 
47	    <div class="col-xs-12 col-sm-12 doc-gen-row-bttom doc-gen-padd-no"> 
48			<span class="doc-gen-font-bold" style="font-weight: bold;">Trích yếu:</span>			 
49				<span class="doc-gen-font-bold">${.vars["reserved-article-description"].data}</span> 
50		</div> 
51	</div> 
52	 
53	<#assign loaiVanBan = "" > 
54	<#assign coQuanBanHanh = "" > 
55	 
56	<#assign journalLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
57	<#assign articleobj = journalLocalService.getArticle(getterUtil.getLong(scopeGroupId), .vars["reserved-article-id"].data)> 
58	 
59	<#assign  articlePrimKey = articleobj.getResourcePrimKey()> 
60	 
61	<#assign catLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
62	<#assign articleCates = catLocalService.getCategories("com.liferay.journal.model.JournalArticle", getterUtil.getLong(articlePrimKey))> 
63	 
64	<#assign listName = ""> 
65	<#list articleCates as cat> 
66		<#assign listName = listName + "," + cat.getName()> 
67	</#list> 
68	 
69	<#assign assetVocabularyLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")> 
70    <#assign listVocab = assetVocabularyLocalService.getGroupVocabularies(groupId)> 
71	 
72	<#list listVocab as vocab> 
73    <#-- 130782: id vocabulary cua loai van ban --> 
74    <#if vocab.getVocabularyId() == 130782> 
75        <#list vocab.getCategories() as cate> 
76            <#if listName?contains(cate.getName())> 
77                <#assign loaiVanBan = cate.getName()> 
78            </#if> 
79        </#list> 
80    </#if> 
81	 
82	</#list> 
83		 
84	<div class="doc-gen-bor-dott doc-gen-row"> 
85		<div class="col-xs-12 col-sm-12 doc-gen-row-bttom doc-gen-padd-no"> 
86			<span class="doc-gen-font-bold" style="font-weight: bold;">Loại văn bản:</span>			 
87				<span class="doc-gen-font-bold">${loaiVanBan}</span>					 
88		</div> 
89	</div> 
90	<#assign Ngy6k8l_Data = getterUtil.getString(Ngy6k8l.getData())> 
91 
92    <#if validator.isNotNull(Ngy6k8l_Data)> 
93    	<#assign Ngy6k8l_DateObj = dateUtil.parseDate("yyyy-MM-dd", Ngy6k8l_Data, locale)> 
94    </#if> 
95	<div class="doc-gen-bor-dott doc-gen-row"> 
96		<div class="col-xs-12 col-sm-12 doc-gen-row-bttom doc-gen-padd-no"> 
97			<span class="doc-gen-font-bold" style="font-weight: bold;">Ngày ban hành:</span>			 
98				<span class="doc-gen-font-bold">${dateUtil.getDate(Ngy6k8l_DateObj, "dd/MM/yyyy", locale)}</span>					 
99		</div> 
100	</div> 
101	 
102	<#assign contentTemp = getterUtil.getString(contentQD.getData())> 
103 
104		<div class="doc-gen-bor-dott doc-gen-row"> 
105		<div class="col-xs-12 col-sm-12 doc-gen-row-bttom doc-gen-padd-no"> 
106			<span class="doc-gen-font-bold" style="font-weight: bold;">Nội dung:</span>	 
107			<#if validator.isNotNull(contentTemp)> 
108    	        <span class="doc-gen-font-bold">${contentQD.getData()}</span> 
109            </#if> 
110									 
111		</div> 
112	</div> 
113 
114	 
115</div> 
116</div> 
117 
118 
119<a id="hiddenDownload" style="display: none;"></a> 
120 
121<script type="text/javascript"> 
122	/** Perform download all files of the selected record. */ 
123	function downloadAllFiles(id, urls) { 
124		zipFiles(id, urls); 
125
126 
127	function zipFiles(id, urls) { 
128		var jszip = new JSZip(); 
129		doZip(jszip, urls, 0); 
130
131	 
132	function doZip(jszip, urls, index) { 
133		var fileName = urls[index].split('/')[4]; 
134		 
135		JSZipUtils.getBinaryContent(urls[index], function(err, data) { 
136			if (!err) { 
137				jszip.file(fileName, data, { 
138					binary : true 
139				}); 
140				 
141				if (++index == urls.length) { 
142					jszip.generateAsync({ 
143						type : "blob" 
144					}).then(function(content) { 
145						var a = $("#hiddenDownload"); 
146						a.attr("download", "tailieudinhkem"); 
147						a.attr("href", URL.createObjectURL(content)); 
148						document.getElementById("hiddenDownload").click(); 
149					}); 
150				} else { 
151					doZip(jszip, urls, index); 
152
153
154		}); 
155
156 
157</script> 
Số lượng lượt xem: 1