Template: Semorg-expense-report: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(3 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
}}{{{expenses|}}}{{#semorg-detail:expense-report
Line 15: Line 16:
   |person={{semorg-person-link|{{{person|}}}}}
   |person={{semorg-person-link|{{{person|}}}}}
   |date={{semorg-date|{{{date|}}}|long}}
   |date={{semorg-date|{{{date|}}}|long}}
   |payment-date={{{payment-date|}}}
   |payment-date={{semorg-date|{{{payment-date|}}}|long}}
  |total-gross=€ {{#ask:[[semorg-expense-expense-report::{{FULLPAGENAME}}]]
    |?semorg-expense-amount-gross
    |format=sum
    |default=0
  }}
  |total-net=€ {{#ask:[[semorg-expense-expense-report::{{FULLPAGENAME}}]]
    |?semorg-expense-amount-net
    |format=sum
    |default=0
  }}
  |total-vat=€ {{#ask:[[semorg-expense-expense-report::{{FULLPAGENAME}}]]
    |?semorg-expense-vat
    |format=sum
    |default=0
  }}
}}
}}


Line 39: Line 25:
   |limit=1000
   |limit=1000
   |csv=date,project,description,amount-gross,amount-net,vat,type
   |csv=date,project,description,amount-gross,amount-net,vat,type
  |sums=,,expense-amount-gross,expense-amount-net,expense-vat,
}}{{semorg-printable
}}{{semorg-printable
   |template=Semorg-expense-report-footer
   |template=Semorg-expense-report-footer
   |class=semorg-expense-report-footer
   |class=semorg-expense-report-footer
}}</includeonly>
}}</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