Hide last authors
Eugen Colesnicov 1.1 1 {{velocity}}
2
3
4 #set($use=$request.getParameter('use'))
5 #set($cur=$xwiki.getDocument($use))
6 #set($sectionName=$cur.name)
7
8 #set($l1=$cur.getObject("etvcCorrespondence2Code.SectionsClass").get("PParent"))
9 #set($l2=$cur.getObject("etvcCorrespondence2Code.SectionsClass").get("Parent"))
10 #set($l3=$cur.getObject("etvcCorrespondence2Code.SectionsClass").get("Index"))
11 #set($l4=$cur.getObject("etvcCorrespondence2Code.SectionsClass").get("NameFull"))
12
13 (% style="text-align: center; " %)
14 #if ($l1!="")
15 (% style="font-size: 16pt; " %)**$l1**(%%)
16 #end
17 #if ($l2!="")
18 (% style="font-size: 16pt; " %)**$l2**(%%)
19 #end
20 (% style="font-size: 16pt; " %)**$l3 - $l4**(%%)
21
22 {{html wiki="true"}}
23 <br><br><br><br><br>
24
25 #set ($sql = "select obj.name from Document doc, doc.object(etvcCorrespondence2Code.FoldersClass) as obj where obj.name not like '%ClassTemplate' and doc.parent='$use' order by obj.Num")
26 #set ($results = $xwiki.queryManager.xwql($sql).execute())
27
28 |=(% style="text-align: center; " %)(% style="font-size: 12pt; " %)Indicele dosarului|=(% style="text-align: center; " %)(% style="font-size: 12pt; " %)Denumirea directiei de activitate si titlul dosarului|=(% style="text-align: center; " %)(% style="font-size: 12pt; " %)Numarul dosarelor|=(% style="text-align: center; " %)(% style="font-size: 12pt; " %)Termenul de pastrare si nr. art.|=(% style="text-align: center; " %)(% style="font-size: 12pt; " %)Note
29 |=(% style="text-align: center; " %)1|=(% style="text-align: center; " %)2|=(% style="text-align: center; " %)3|=(% style="text-align: center; " %)4|=(% style="text-align: center; " %)5
30 | | | | |
31 #foreach($item in $results)
32 #set ($d = $xwiki.getDocument($item))
33 #set ($obj = $d.getObject("etvcCorrespondence2Code.FoldersClass"))
34 |(% style="text-align: center; " %)(% style="font-size: 12pt; " %)$obj.Index|(% style="font-size: 12pt; " %)$obj.Title|(% style="text-align: center; " %)(% style="font-size: 12pt; " %)$obj.Num|(% style="text-align: center; " %)(% style="font-size: 12pt; " %)$obj.Term|(% style="font-size: 12pt; " %)$obj.Notes
35 | | | | |
36 #end
37
38 <br><br><br><br><br><br><br><br><br><br>
39 (% style="font-size: 16pt; " %)Semnatura:<br>
40 ##(% style="font-size: 16pt; " %)_______________
41
42
43
44 {{/html}}
45 {{/velocity}}