Difference between revisions of "Template:Semorg-invoice"

From SemanticOrganization
Jump to: navigation, search
 
Line 30: Line 30:
 
   |outro={{{outro|}}}
 
   |outro={{{outro|}}}
 
   |period={{{period|}}}
 
   |period={{{period|}}}
  |amount-gross={{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
 
    |?semorg-invoice-item-amount-gross
 
    |format=sum
 
  }}}}}
 
  |amount-net={{{amount-net|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
 
    |?semorg-invoice-item-amount-net
 
    |format=sum
 
  }}}}}
 
 
}}<div class="d-print-none">{{#if:{{{date|}}}
 
}}<div class="d-print-none">{{#if:{{{date|}}}
 
   |{{#semorg-detail:invoice
 
   |{{#semorg-detail:invoice
Line 66: Line 58:
 
   |project={{#if:{{{project|}}}|[[{{{project|}}}]]}}
 
   |project={{#if:{{{project|}}}|[[{{{project|}}}]]}}
 
   |storno={{{storno|}}}
 
   |storno={{{storno|}}}
}}</div></includeonly>
+
}}</div>{{#semorg-set:invoice
 +
  |amount-gross={{{amount-gross|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
 +
    |?semorg-invoice-item-amount-gross
 +
    |format=sum
 +
  }}}}}
 +
  |amount-net={{{amount-net|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]
 +
    |?semorg-invoice-item-amount-net
 +
    |format=sum
 +
  }}}}}
 +
}}</includeonly>

Latest revision as of 14:14, 2 May 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