Commit 2da50130 authored by Thomas Gambier's avatar Thomas Gambier

slapos_accounting: better invoice view

parent 4842a024
......@@ -27,15 +27,15 @@
<h1 class="company" tal:content="python: context.getSourceSectionTitle('SlapOS Company')"></h1>
<tal:block tal:define="source_section_organisation python: context.getSourceSectionValue()">
<p tal:condition="python: source_section_organisation is not None">
<tal:block tal:repeat="line python: source_section_organisation.getDescription('').split('\n')">
<span style="display:block" tal:content="line"></span>
<tal:block tal:repeat="line python: source_section_organisation.getDefaultAddressText('').split('\n')">
<span style="display:block;float:none;margin:0" tal:content="line"></span>
</tal:block>
<tal:block tal:content="python: source_section_organisation.getDefaultRegionTitle()"></tal:block>
</p>
<p tal:condition="python: source_section_organisation is not None">
<tal:block tal:repeat="line python: source_section_organisation.getDefaultAddressText('').split('\n')">
<span style="display:block" tal:content="line"></span>
<tal:block tal:repeat="line python: source_section_organisation.getDescription('').split('\n')">
<span style="display:block;float:none;margin:0" tal:content="line"></span>
</tal:block>
<tal:block tal:content="python: source_section_organisation.getDefaultRegionTitle()"></tal:block>
</p>
<p tal:content="python: 'Corporate Registration Code: %s' % source_section_organisation.getCorporateRegistrationCode()"></p>
<p tal:content="python: 'VAT Code: %s' % source_section_organisation.getVatCode()"></p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment