Template: Semorg-invoice: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
   }}
   }}
   |intro={{{intro|}}}
   |intro={{{intro|}}}
   |body={{#if:{{{items|}}}
   |body=<table class="table semorg-invoice-items">{{{items}}}{{semorg-invoice-items-sums}}</table>
    |<table class="table semorg-invoice-items">{{{items}}}{{semorg-invoice-items-sums}}</table>
  }}
   |outro={{{outro|}}}
   |outro={{{outro|}}}
   |footer={{int:semorg-invoice-footer|{{{issuer|}}}}}
   |footer={{int:semorg-invoice-footer|{{{issuer|}}}}}
Line 56: Line 54:
   |period={{{period|}}}
   |period={{{period|}}}
   |department={{semorg-department-link|{{{department|}}}}}
   |department={{semorg-department-link|{{{department|}}}}}
   |project={{#if:{{{project|}}}|[[{{{project|}}}]]}}
   |project={{semorg-project-link|{{{project|}}}}}
   |storno={{{storno|}}}
   |storno={{{storno|}}}
}}</div>{{#semorg-set:invoice
}}</div>{{#semorg-set:invoice
   |amount-gross={{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
   |amount-gross={{{amount-gross|{{formatnum:{{#semorg-sum:invoice-amount-gross}}}}}}}
    |?semorg-invoice-item-amount-gross
   |amount-net={{{amount-net|{{formatnum:{{#semorg-sum:invoice-amount-net}}}}}}}
    |format=sum
  }}}}}
   |amount-net={{{amount-net|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
    |?semorg-invoice-item-amount-net
    |format=sum
  }}}}}
}}</includeonly>
}}</includeonly>

Latest revision as of 07:14, 14 November 2024

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