Commit 0cf9c384 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: Display user address at the Invoice

parent b82c5abf
Pipeline #9196 passed with stage
in 0 seconds
...@@ -70,9 +70,9 @@ article h2:after { ...@@ -70,9 +70,9 @@ article h2:after {
font-size: 1em; font-size: 1em;
} }
article address { float: left; font-size: 120%; } article address { float: left; font-size: 100%; }
article h2 { margin-bottom: 10px; } article h2 { margin-bottom: 10px; }
article address p { margin-bottom: 5px; letter-spacing: 1px;} article address p { margin-bottom: 5px; letter-spacing: 1px}
/* table meta & balance */ /* table meta & balance */
......
...@@ -54,6 +54,13 @@ ...@@ -54,6 +54,13 @@
<p tal:condition="python: destination_section_organisation is not None"> <p tal:condition="python: destination_section_organisation is not None">
<tal:block tal:content="python: destination_section_organisation.getDefaultEmailText('')"></tal:block> <tal:block tal:content="python: destination_section_organisation.getDefaultEmailText('')"></tal:block>
</p> </p>
<p tal:condition="python: destination_section_organisation is not None">
<tal:block tal:repeat="line python: destination_section_organisation.getDefaultAddressText('').split('\n')">
<span style="display:block" tal:content="line"></span>
</tal:block>
<tal:block tal:content="python: destination_section_organisation.getDefaultRegionTitle()"></tal:block>
</p>
</tal:block> </tal:block>
</address> </address>
<table class="meta"> <table class="meta">
......
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