Difference between revisions of "Template:Semorg-invoice"

From SemanticOrganization
Jump to: navigation, search
Line 30: Line 30:
 
   |recipient={{{recipient|}}}
 
   |recipient={{{recipient|}}}
 
   |issuer={{semorg-person-link|{{{issuer|}}}}}
 
   |issuer={{semorg-person-link|{{{issuer|}}}}}
  |number={{int:semorg-invoice-number|{{FULLPAGENAME}}}}
 
 
   |date={{semorg-date|{{{date|}}}|long}}
 
   |date={{semorg-date|{{{date|}}}|long}}
   |items={{{items|}}}
+
   |due-date={{semorg-date|{{{due-date|}}}|long}}
 +
  |payment-date={{semorg-date|{{{payment-date|}}}|long}}
 +
  |amount-net={{semorg-currency|{{formatnum:{{{amount-net|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
 +
    |?semorg-invoice-item-amount-net
 +
    |format=sum
 +
  }}}}}}}}}
 
   |amount-gross={{semorg-currency|{{formatnum:{{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
 
   |amount-gross={{semorg-currency|{{formatnum:{{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
 
     |?semorg-invoice-item-amount-gross
 
     |?semorg-invoice-item-amount-gross
 
     |format=sum
 
     |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}}
 
  |payment-date={{semorg-date|{{{payment-date|}}}|long}}
 
 
   |description={{{description|}}}
 
   |description={{{description|}}}
 +
  |items={{{items|}}}
 
   |department={{semorg-department-link|{{{department|}}}}}
 
   |department={{semorg-department-link|{{{department|}}}}}
 
   |project={{#if:{{{project|}}}|[[{{{project|}}}]]}}
 
   |project={{#if:{{{project|}}}|[[{{{project|}}}]]}}
 
   |storno={{{storno|}}}
 
   |storno={{{storno|}}}
 
}}</includeonly>
 
}}</includeonly>

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