Template: Semorg-expense-report: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(16 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}}}}
}}
}}
{{{expenses|}}}


{{#semorg-table:expense-report  
{{#semorg-table:expense-report  
  |quarter={{#if:{{{quarter|}}}|{{int:semorg-quarter|{{{year|}}}|{{{quarter|}}}}}}}
  |month={{#if:{{{month|}}}|{{int:semorg-month|{{{year|}}}|{{{month|}}}}}}}
   |person={{semorg-person-link|{{{person|}}}}}
   |person={{semorg-person-link|{{{person|}}}}}
   |date={{semorg-date|{{{date|}}}|long}}
   |date={{semorg-date|{{{date|}}}|long}}
   |month={{{month|}}}
   |payment-date={{semorg-date|{{{payment-date|}}}|long}}
  |quarter={{{quarter|}}}
  |year={{{year|}}}
  |payment-date={{{payment-date|}}}
  |sum={{#ask:[[semorg-expense-expense-report::{{FULLPAGENAME}}]]|?semorg-expense-amount-gross|format=sum}}
}}
}}


{{#semorg-list:expense
{{#semorg-list:expense
   |query=[[semorg-expense-expense-report::{{FULLPAGENAME}}]]
   |query=[[semorg-expense-expense-report::{{FULLPAGENAME}}]]
  |sort=semorg-expense-date
   |category=-
   |category=-
}}
  |limit=1000
</includeonly>
  |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