Difference between revisions of "Template:Semorg-invoice"

From SemanticOrganization
Jump to: navigation, search
Line 17: Line 17:
 
     |format=sum
 
     |format=sum
 
   }}}}}
 
   }}}}}
   |amount-net={{{amount-net|}}}
+
   |amount-net={{{amount-net|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
 +
    |?semorg-invoice-item-amount-net
 +
    |format=sum
 +
  }}}}}}
 
}}[[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|}}}}}}}
Line 30: Line 33:
 
   |date={{semorg-date|{{{date|}}}|long}}
 
   |date={{semorg-date|{{{date|}}}|long}}
 
   |items={{{items|}}}
 
   |items={{{items|}}}
   |amount-gross={{formatnum:{{{amount-gross|}}}}}
+
   |amount-gross={{semorg-currency|{{formatnum:{{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
   |amount-net={{formatnum:{{{amount-net|}}}}}
+
    |?semorg-invoice-item-amount-gross
 +
    |format=sum
 +
  }}}}}}}}}}
 +
   |amount-net={{semorg-currency|{{formatnum:{{{amount-net|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
 +
    |?semorg-invoice-item-amount-net
 +
    |format=sum
 +
  }}}}}}}}}}
 
   |due-date={{semorg-date|{{{due-date|}}}|long}}
 
   |due-date={{semorg-date|{{{due-date|}}}|long}}
 
   |payment-date={{semorg-date|{{{payment-date|}}}|long}}
 
   |payment-date={{semorg-date|{{{payment-date|}}}|long}}

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