Template: Semorg-invoice-row: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(6 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>{{semorg-date|{{{?due-date|}}}|short-noyear}} {{#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|{{{amount-net|}}}}}</td>
      |{{#ifexpr:{{#time:U|-1 month}} < {{#time:U|{{{?due-date|}}}}}
<td>{{semorg-date|{{{payment-date|}}}|short-noyear}}</td>
        |<span class="badge badge-warning">{{int:semorg-invoice-status-due}}</span>
        |<span class="badge badge-danger">{{int:semorg-invoice-status-overdue}}</span>
      }}
    }}
  }}
}}</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 07:05, 14 November 2024

This page is part of the Semantic Organization extension.