Difference between revisions of "Template:Semorg-invoice-row"

From SemanticOrganization
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr {{#semorg-true:{{{?storno|}}}|class="semorg-invoice-storno"}}>
+
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr {{#semorg-true:{{{storno|}}}|class="semorg-invoice-storno"}}>
<td>[[{{{?target|}}}|{{{?number|}}}]]</td>
+
<td>[[{{{target|}}}|{{{number|}}}]]</td>
<td>{{semorg-date|{{{?date|}}}|short-noyear}}</td>
+
<td>{{semorg-date|{{{date|}}}|short-noyear}}</td>
<td>{{#if:{{{?due-date|}}}
+
<td>{{{recipient|}}}<div class="semorg-list-row-details">
  |{{#semorg-true:{{{?payed|}}}
+
{{{description|}}}</div></td>
    |
+
<td>{{semorg-account-link|{{{issuer|}}}}}</td>
    |{{#ifexpr:{{#time:U}} < {{#time:U|{{{?due-date|}}}}}
+
<td style="text-align:right">{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{{target|}}}]]|?semorg-invoice-item-amount-net|format=sum}}}}</td>
      |<span class="badge badge-warning">{{int:semorg-invoice-status-due}}</span>&nbsp;
+
<td>{{semorg-date|{{{payment-date|}}}|short-noyear}}</td>
      |<span class="badge badge-danger">{{int:semorg-invoice-status-overdue}}</span>&nbsp;
 
    }}
 
  }}
 
}}{{semorg-date|{{{?due-date|}}}|short-noyear}}</td>
 
<td>{{{?recipient|}}}</td>
 
<td>{{semorg-person-link|{{{?issuer|}}}}}</td>
 
<td>{{semorg-currency|{{{?amount-net|}}}}}</td>
 
<td>{{semorg-date|{{{?payment-date|}}}|short-noyear}}</td>
 
 
{{semorg-showedit
 
{{semorg-showedit
   |target={{{?target|}}}
+
  |form={{int:semorg-invoice-form}}
 +
   |target={{{target|}}}
 
}}
 
}}
 
</tr></includeonly>
 
</tr></includeonly>

Latest revision as of 14:53, 22 April 2021

This page is part of the Semantic Organization extension.