Template:Invoice: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
<pre>
<pre>
{{invoice
{{invoice
| company      = Company of the member company
| street      = Street of the member company
| city          = City of the member company
| state        = State of the member company
| zip          = Zip of the member company
| country      = Country of the member company
| type          = Type of membership
| type          = Type of membership
| quantity      = Quantity of membership
}}
}}
</pre>
</pre>
Line 42: Line 35:
|BILL TO
|BILL TO
|-style="height:150px;vertical-align:top;"
|-style="height:150px;vertical-align:top;"
|style="width: 70%"|Attn: {{#show: member:{{REVISIONUSER}} |?Has full name }}</br>{{{company}}}</br>{{{street}}}</br>{{{city}}}, {{{state}}} {{{zip}}}</br>{{{country}}}
|style="width: 70%"|Attn: {{#show: User:{{REVISIONUSER}} |?Has full name }}</br>{{#show: User:{{REVISIONUSER}} |?Has inv company }}</br>{{#show: User:{{REVISIONUSER}} |?Has inv street }}</br>{{#show: User:{{REVISIONUSER}} |?Has inv city }}, {{#show: User:{{REVISIONUSER}} |?Has inv state }} {{#show: User:{{REVISIONUSER}} |?Has inv zip }}</br>{{#show: User:{{REVISIONUSER}} |?Has inv country}}  
|}
|}


Line 57: Line 50:
|style='text-align: right;'|{{{quantity}}}
|style='text-align: right;'|{{{quantity}}}
|style='text-align: right;'|$ {{#show: {{{type}}} |?Has payment }}
|style='text-align: right;'|$ {{#show: {{{type}}} |?Has payment }}
|style='text-align: right;'|$ {{Display amount |quantity={{{quantity}}} |amount={{#show: {{{type}}} |?Has payment#=  }} }}
|style='text-align: right;'|$ {{Display amount |quantity=1 |amount={{#show: {{{type}}} |?Has payment#=  }} }}
|}
|}



Latest revision as of 01:36, May 11, 2022

This is the "Person" template. It should be called in the following format:

{{invoice
| type          = Type of membership
}}

Edit the page to see the template text.