Template: Semorg-expense: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
(Created page with "<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-set:expense |expense-report={{{expense-report|}}} |date={{{date|}}} |project={{{project|}}} |descrip...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-set:expense  
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-subobject:expense  
   |expense-report={{{expense-report|}}}  
   |expense-report={{FULLPAGENAME}}
   |date={{{date|}}}  
   |date={{{date|}}}  
   |project={{{project|}}}  
   |project={{{project|}}}  
   |description={{{description|}}}  
   |description={{{description|}}}  
   |amount-gross={{{amount-gross|}}}  
   |amount-gross={{{amount-gross|}}}  
   |amount-net={{{amount-net|}}}
   |amount-net={{{amount-net|{{#if:{{{amount-gross|}}}
    |{{#if:{{{vat|}}}
      |{{formatnum:{{#expr:{{formatnum:{{{amount-gross}}}|R}}-{{formatnum:{{{vat}}}|R}}}}}}
    }}
  }}}}}
  |account={{{account|}}}
  |vat={{{vat|{{#if:{{{amount-gross|}}}
    |{{#if:{{{amount-net|}}}
      |{{formatnum:{{#expr:{{formatnum:{{{amount-gross}}}|R}}-{{formatnum:{{{amount-net}}}|R}}}}}}
    }}
  }}}}}
  |type={{{type|}}}
}}</includeonly>
}}</includeonly>

Latest revision as of 16:17, 11 August 2019

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-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-expense-template