Difference between revisions of "Template:Semorg-invoice"
From SemanticOrganization
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-invoice{{#if:{{{date|}}}||-template}}-category}}]]{{semorg-letter | + | <noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-invoice{{#if:{{{date|}}}||-template}}-category}}]]{{semorg-letter |
− | + | |class=semorg-invoice | |
− | + | |recipient={{{recipient|}}} | |
− | { | + | |date={{{date|}}} |
− | | | + | |subject={{int:semorg-invoice-subject-text|{{int:semorg-invoice-number|{{FULLPAGENAME}}}}}} |
− | |< | + | |subject-sub={{#if:{{{period|}}} |
− | + | |{{int:semorg-invoice-period-text|{{{period|}}}}} | |
− | + | }} | |
− | }}{{semorg- | + | |intro={{{intro|}}} |
+ | |body={{#if:{{{items|}}} | ||
+ | |<table class="table semorg-invoice-items">{{{items}}}{{semorg-invoice-items-sums}}</table> | ||
+ | }} | ||
+ | |outro={{{outro|}}} | ||
+ | |footer={{int:semorg-invoice-footer|{{{issuer|}}}}} | ||
+ | }} | ||
{{#semorg-set:invoice | {{#semorg-set:invoice | ||
+ | |template-name={{{template-name|}}} | ||
|recipient={{{recipient|}}} | |recipient={{{recipient|}}} | ||
|issuer={{{issuer|}}} | |issuer={{{issuer|}}} | ||
Line 31: | Line 38: | ||
|format=sum | |format=sum | ||
}}}}} | }}}}} | ||
− | }}<div class="d-print-none"> | + | }}<div class="d-print-none">{{#if:{{{date|}}} |
− | + | |{{#semorg-detail:invoice | |
+ | |heading={{int:semorg-invoice-displaytitle|{{FULLPAGENAME}}|{{#time:Y|{{{date|}}}}}}} | ||
+ | }} | ||
+ | |{{#semorg-detail:invoice-template | ||
+ | |heading={{{template-name|}}} | ||
+ | }} | ||
}}{{#semorg-true:{{{storno|}}} | }}{{#semorg-true:{{{storno|}}} | ||
|<div class="alert alert-danger">{{int:semorg-invoice-storno-warning}}</div> | |<div class="alert alert-danger">{{int:semorg-invoice-storno-warning}}</div> | ||
Line 41: | Line 53: | ||
|due-date={{semorg-date|{{{due-date|}}}|long}} | |due-date={{semorg-date|{{{due-date|}}}|long}} | ||
|payment-date={{semorg-date|{{{payment-date|}}}|long}} | |payment-date={{semorg-date|{{{payment-date|}}}|long}} | ||
− | |amount-net={{semorg-currency|{{formatnum:{{{amount-net|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]] | + | |amount-net={{semorg-currency|{{formatnum:{{{amount-net|{{formatnum:{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]] |
|?semorg-invoice-item-amount-net | |?semorg-invoice-item-amount-net | ||
|format=sum | |format=sum | ||
− | }}}}}}}}} | + | }}|R}}}}}}}}} |
− | |amount-gross={{semorg-currency|{{formatnum:{{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]] | + | |amount-gross={{semorg-currency|{{formatnum:{{{amount-gross|{{formatnum:{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]] |
|?semorg-invoice-item-amount-gross | |?semorg-invoice-item-amount-gross | ||
|format=sum | |format=sum | ||
− | }}}}}}}}} | + | }}|R}}}}}}}}} |
|description={{{description|}}} | |description={{{description|}}} | ||
|period={{{period|}}} | |period={{{period|}}} |
Revision as of 12:27, 12 April 2023
This page is part of the Semantic Organization extension.
If you want to customize this template you can copy its contents to another page (use for example Template:Semorg-invoice-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-invoice-template