Após 20 anos de grandes resultados no Brasil, nosso modelo de negócio baseado na construção de multiparcerias sustentáveis e duradouras também já traz números que compartilhamos com você e com o mercado. É assim que construímos relações de confiança com acionistas, parceiros e clientes.
Reputação e compliance nas relações pessoais e financeiras.
Os efeitos de nossas políticas sustentáveis nos negócios.
Os impactos da reestruturação do negócio nos resultados.
Contratos, indenizações e prêmios.
An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy144.getFileEntry(long)" threw an exception when invoked on com.sun.proxy.$Proxy144 object "com.liferay.document.library.opener.google.drive.web.internal.service.DLOpenerGoogleDriveDLAppServiceWrapper@41ef8a67"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: fileEntry = dlAppService.getFileEntry... [in template "20097#20123#46730" at line 32, column 58] ----
1<!--
2 Name: ADT - Relatório financeiro
3 Type: Asset Publisher Template
4 Path: ROOT/assets/Relatório financeiro/ADT-balanco-financeiro.ftl
5-->
6
7<#setting time_zone=timeZone.ID>
8<#setting locale=locale.toString()>
9<#setting datetime_format="dd/MM/yyyy">
10<#assign
11 dlAppService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService")
12
13
14/>
15<div class="balanco-financeiro" >
16 <#list entries as entry>
17 <#assign renderer = entry.getAssetRenderer()
18 document = saxReaderUtil.read(renderer.getArticle().getContent())
19 rootElement = document.getRootElement()
20 journalArticle = renderer.getArticle()
21 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry)
22 xPathSelector = saxReaderUtil.createXPath("dynamic-element[@field-reference='descricao']")
23 descricao = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim
24 xPathSelector = saxReaderUtil.createXPath("dynamic-element[@field-reference='relatorio']")
25 relatorio = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim
26 url = ''
27 size=0
28 />
29 <#if relatorio?? && relatorio != "">
30 <#assign fileJson = jsonFactoryUtil.createJSONObject(relatorio)
31 fileEntryId = getterUtil.getInteger(fileJson.get('fileEntryId'))
32 fileEntry = dlAppService.getFileEntry(fileEntryId)
33 size = fileEntry.getSize()/1024/1024
34 />
35 <#if fileEntry?? >
36 <#assign url = '/documents/' + themeDisplay.getScopeGroupId() + '/' + fileEntry.getUuid() />
37 </#if>
38 </#if>
39 <div class="date">
40 <p>${journalArticle.getDisplayDate()?datetime}</p>
41 </div>
42 <div>
43 <h1>${journalArticle.getTitle()}</h1>
44 <div class="descricao">
45 ${descricao}
46 </div>
47 <div class="download">
48 <a href="${url}">
49 <svg width="40" style="margin-right:10px;" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.1427 24.2506L19.1427 5.4285C19.1427 4.79732 19.6544 4.28564 20.2856 4.28564C20.9168 4.28564 21.4285 4.79732 21.4285 5.4285V23.7144L28.1085 17.4468C28.5624 17.0209 29.2738 17.0455 29.6975 17.5018C30.1211 17.9582 30.0966 18.6733 29.6427 19.0992L20.7669 27.4271C20.335 27.8323 19.6647 27.8323 19.2327 27.4271L10.357 19.0992C9.90308 18.6733 9.87855 17.9582 10.3022 17.5018C10.7259 17.0455 11.4373 17.0209 11.8912 17.4468L19.1427 24.2506ZM5.71415 27.4284C6.34533 27.4284 6.857 27.9401 6.857 28.5713V34.2856C6.857 34.4434 6.98492 34.5713 7.14272 34.5713H32.857C33.0148 34.5713 33.1427 34.4434 33.1427 34.2856V28.5713C33.1427 27.9401 33.6544 27.4284 34.2856 27.4284C34.9168 27.4284 35.4284 27.9401 35.4284 28.5713V34.2856C35.4284 35.7057 34.2772 36.857 32.857 36.857H7.14272C5.72256 36.857 4.57129 35.7057 4.57129 34.2856V28.5713C4.57129 27.9401 5.08296 27.4284 5.71415 27.4284Z" fill="#D70064" ></path></svg>
50 <p>Baixar em PDF (${size?string["00"]} MB)</p>
51 <a/>
52 </div>
53 </div>
54 </#list>
55</div>
56
57
58<style>
59
60.balanco-financeiro {
61 font-family: Rawline,sans-serif;
62 color: var(--color-brand-primary-light);
63 box-sizing: border-box;
64 font-size: var(--font-size-xl);
65 line-height: var(--line-height-md);
66 display: flex;
67 font-weight: var(--font-weight~~-sm);
68}
69
70@media screen and (max-width: 900px) {
71 .balanco-financeiro {
72 display: block;
73 margin-left: 8px;
74 }
75}
76.balanco-financeiro h1 {
77
78 font-size: var(--font-size-2xl);
79}
80.date{
81 padding-right: var(--spacing-inset-sm);
82
83}
84.date p{
85 width: 150px;
86 height: 35px;
87 border-bottom: 1px solid rgb(0, 35, 100);
88 text-align: center;
89}
90.descricao {
91 color: var(--color-neutral-02);
92 width: 100%;
93 margin-bottom: var(--spacing-inset-xs);
94}
95.download a:link {
96 color: var(--color-brand-secondary-light);
97 display: flex;
98 font-weight: var(--font-weight-md);
99}
100</style>