Difference between revisions of "Template:Semorg-invoice"
From SemanticOrganization
Line 1: | Line 1: | ||
− | <noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-invoice | + | <noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-invoice{{#if:{{{date|}}}||-template}}-category}}]]{{semorg-letter-header}}<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|{{int:semorg-invoice-subject-text|{{int:semorg-invoice-number|{{FULLPAGENAME}}}}}}|{{#if:{{{period|}}} |
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
|{{int:semorg-invoice-period-text|{{{period|}}}}} | |{{int:semorg-invoice-period-text|{{{period|}}}}} | ||
}}}} | }}}} | ||
Line 54: | Line 31: | ||
|format=sum | |format=sum | ||
}}}}} | }}}}} | ||
− | }}</includeonly> | + | }}<div class="d-print-none">{{#semorg-detail:invoice{{#if:{{{date|}}}||-template}} |
+ | |heading={{int:semorg-invoice-displaytitle|{{FULLPAGENAME}}|{{#time:Y|{{{date|}}}}}}} | ||
+ | }}{{#semorg-true:{{{storno|}}} | ||
+ | |<div class="alert alert-danger">{{int:semorg-invoice-storno-warning}}</div> | ||
+ | }}{{#semorg-table:invoice | ||
+ | |recipient={{semorg-person-link|{{{recipient|}}}}} | ||
+ | |issuer={{semorg-person-link|{{{issuer|}}}}} | ||
+ | |date={{semorg-date|{{{date|}}}|long}} | ||
+ | |due-date={{semorg-date|{{{due-date|}}}|long}} | ||
+ | |payment-date={{semorg-date|{{{payment-date|}}}|long}} | ||
+ | |amount-net={{semorg-currency|{{formatnum:{{{amount-net|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]] | ||
+ | |?semorg-invoice-item-amount-net | ||
+ | |format=sum | ||
+ | }}}}}}}}} | ||
+ | |amount-gross={{semorg-currency|{{formatnum:{{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]] | ||
+ | |?semorg-invoice-item-amount-gross | ||
+ | |format=sum | ||
+ | }}}}}}}}} | ||
+ | |description={{{description|}}} | ||
+ | |period={{{period|}}} | ||
+ | |department={{semorg-department-link|{{{department|}}}}} | ||
+ | |project={{#if:{{{project|}}}|[[{{{project|}}}]]}} | ||
+ | |storno={{{storno|}}} | ||
+ | }}</div></includeonly> |
Revision as of 20:04, 4 March 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