Difference between revisions of "Template:Semorg-expense-report"

From SemanticOrganization
Jump to: navigation, search
 
(24 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
   |quarter={{{quarter|}}}  
 
   |quarter={{{quarter|}}}  
 
   |payment-date={{{payment-date|}}}  
 
   |payment-date={{{payment-date|}}}  
 +
  |payed={{#if:{{{payment-date|}}}|true|false}}
 
   |year={{{year|}}}
 
   |year={{{year|}}}
 +
}}{{{expenses|}}}{{#semorg-detail:expense-report
 +
  |heading={{int:semorg-expense-report-displaytitle|{{#show:{{{person|}}}|?semorg-person-name}}}}
 
}}
 
}}
  
 
{{#semorg-table:expense-report  
 
{{#semorg-table:expense-report  
   |person={{{person|}}}  
+
   |quarter={{#if:{{{quarter|}}}|{{int:semorg-quarter|{{{year|}}}|{{{quarter|}}}}}}}
   |date={{{date|}}}  
+
   |month={{#if:{{{month|}}}|{{int:semorg-month|{{{year|}}}|{{{month|}}}}}}}
  |month={{{month|}}}  
+
   |person={{semorg-person-link|{{{person|}}}}}
   |quarter={{{quarter|}}}  
+
   |date={{semorg-date|{{{date|}}}|long}}
   |payment-date={{{payment-date|}}}  
+
   |payment-date={{semorg-date|{{{payment-date|}}}|long}}
   |year={{{year|}}}
 
 
}}
 
}}
 
{{{expenses|}}}
 
  
 
{{#semorg-list:expense
 
{{#semorg-list:expense
   |query=[[
+
   |query=[[semorg-expense-expense-report::{{FULLPAGENAME}}]]
</includeonly>
+
  |sort=semorg-expense-date
 +
  |category=-
 +
  |limit=1000
 +
  |csv=date,project,description,amount-gross,amount-net,vat,type
 +
  |sums=,,expense-amount-gross,expense-amount-net,expense-vat,
 +
}}{{semorg-printable
 +
  |template=Semorg-expense-report-footer
 +
  |class=semorg-expense-report-footer
 +
}}</includeonly>

Latest revision as of 08:42, 21 October 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-expense-report-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-expense-report-template