Difference between revisions of "Template:Semorg-invoice"
From SemanticOrganization
Line 1: | Line 1: | ||
− | <noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-invoice-category}}]]{{semorg-letter-header}}{{#semorg-detail:invoice | + | <noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-invoice-category}}]]{{semorg-letter-header}}<div class="d-print-none">{{#semorg-detail:invoice |
|heading={{int:semorg-invoice-displaytitle|{{FULLPAGENAME}}|{{#time:Y|{{{date|}}}}}}} | |heading={{int:semorg-invoice-displaytitle|{{FULLPAGENAME}}|{{#time:Y|{{{date|}}}}}}} | ||
}}{{#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> | ||
}}{{#semorg-table:invoice | }}{{#semorg-table:invoice | ||
− | |recipient={{{recipient|}}} | + | |recipient={{semorg-person-link|{{{recipient|}}}}} |
|issuer={{semorg-person-link|{{{issuer|}}}}} | |issuer={{semorg-person-link|{{{issuer|}}}}} | ||
|date={{semorg-date|{{{date|}}}|long}} | |date={{semorg-date|{{{date|}}}|long}} | ||
Line 18: | Line 18: | ||
}}}}}}}}} | }}}}}}}}} | ||
|description={{{description|}}} | |description={{{description|}}} | ||
+ | |period={{{period|}}} | ||
|department={{semorg-department-link|{{{department|}}}}} | |department={{semorg-department-link|{{{department|}}}}} | ||
|project={{#if:{{{project|}}}|[[{{{project|}}}]]}} | |project={{#if:{{{project|}}}|[[{{{project|}}}]]}} | ||
|storno={{{storno|}}} | |storno={{{storno|}}} | ||
− | }} | + | }}</div><div class="d-none d-print-block container-fluid"><div class="row"><div class="col">{{semorg-letter-recipient|{{{recipient|}}}}}{{semorg-letter-date|{{{date|}}}}}{{semorg-letter-subject|Rechnung Nr. {{int:semorg-invoice-number|{{FULLPAGENAME}}}}|{{#if:{{{period|}}} |
+ | |Leistungszeitraum: {{{period|}}} | ||
+ | }}}} | ||
{{#if:{{{items|}}} | {{#if:{{{items|}}} | ||
− | |<table class="table | + | |<table class="table mb-5">{{#if:{{{description|}}} |
− | }} | + | |<tr><td class="semorg-invoice-description border-top-0" colspan=3> |
+ | '''{{{description}}}'''</td></tr> | ||
+ | }}{{{items}}}{{semorg-invoice-items-sums}}</table> | ||
+ | }}{{semorg-letter-outro|{{{outro|}}}}}{{semorg-letter-footer}}</div></div></div> | ||
{{#semorg-set:invoice | {{#semorg-set:invoice | ||
|recipient={{{recipient|}}} | |recipient={{{recipient|}}} | ||
Line 38: | Line 44: | ||
|year={{semorg-year|{{{date|}}}}} | |year={{semorg-year|{{{date|}}}}} | ||
|payed={{#if:{{{payment-date|}}}|true|false}} | |payed={{#if:{{{payment-date|}}}|true|false}} | ||
− | }}{{ | + | |outro={{{outro|}}} |
+ | |period={{{period|}}} | ||
|amount-gross={{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]] | |amount-gross={{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]] | ||
|?semorg-invoice-item-amount-gross | |?semorg-invoice-item-amount-gross |
Revision as of 14:22, 7 February 2021
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