Template: Semorg-invoice: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 4: Line 4:
   |number={{int:semorg-invoice-number|{{FULLPAGENAME}}}}
   |number={{int:semorg-invoice-number|{{FULLPAGENAME}}}}
   |date={{{date|}}}
   |date={{{date|}}}
  |amount-gross={{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]|?semorg-invoice-item-amount-gross|format=sum}}}}}
  |amount-net={{{amount-net|}}}
   |due-date={{{due-date|}}}
   |due-date={{{due-date|}}}
   |payment-date={{{payment-date|}}}
   |payment-date={{{payment-date|}}}
Line 14: Line 12:
   |year={{semorg-year|{{{date|}}}}}
   |year={{semorg-year|{{{date|}}}}}
   |payed={{#if:{{{payment-date|}}}|true|false}}
   |payed={{#if:{{{payment-date|}}}|true|false}}
}}{{#semorg-set:invoice
  |amount-gross={{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
    |?semorg-invoice-item-amount-gross
    |format=sum
  }}}}}
  |amount-net={{{amount-net|}}}
}}[[Category:{{int:semorg-invoice-category}}]]{{#semorg-detail:invoice
}}[[Category:{{int:semorg-invoice-category}}]]{{#semorg-detail:invoice
   |heading={{int:semorg-invoice-displaytitle|{{FULLPAGENAME}}|{{#time:Y|{{{date|}}}}}}}
   |heading={{int:semorg-invoice-displaytitle|{{FULLPAGENAME}}|{{#time:Y|{{{date|}}}}}}}

Revision as of 20:13, 1 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