Template: Semorg-invoice-open-row: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
m (Text replacement - "badge-danger" to "text-bg-danger")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<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>{{semorg-date|{{{due-date|}}}|short-noyear}} {{#if:{{{due-date|}}}
   |{{#semorg-true:{{{?payed|}}}
   |{{#semorg-true:{{{payed|}}}
     |
     |
     |{{#ifexpr:{{#time:U}} > {{#time:U|{{{?due-date|}}}}}
     |{{#ifexpr:{{#time:U}} > {{#time:U|{{{due-date|}}}}}
       |{{#ifexpr:{{#time:U|-{{int:semorg-invoice-status-overdue-weeks}} week}} < {{#time:U|{{{?due-date|}}}}}
       |{{#ifexpr:{{#time:U|-{{int:semorg-invoice-status-overdue-weeks}} week}} < {{#time:U|{{{due-date|}}}}}
         |<span class="badge badge-warning">{{int:semorg-invoice-status-due}}</span>
         |<span class="badge text-bg-warning">{{int:semorg-invoice-status-due}}</span>
         |<span class="badge badge-danger">{{int:semorg-invoice-status-overdue}}</span>
         |<span class="badge text-bg-danger">{{int:semorg-invoice-status-overdue}}</span>
       }}
       }}
     }}
     }}
   }}
   }}
}}</td>
}}</td>
<td>{{{?recipient|}}}<div class="semorg-list-row-details">
<td>{{{recipient|}}}<div class="semorg-list-row-details">
{{{?description|}}}</div></td>
{{{description|}}}</div></td>
<td>{{semorg-account-link|{{{?issuer|}}}}}</td>
<td>{{semorg-account-link|{{{issuer|}}}}}</td>
<td style="text-align:right">{{semorg-currency|{{{?amount-gross|}}}}}</td>
<td style="text-align:right">{{semorg-currency|{{{amount-gross|}}}}}</td>
{{semorg-showedit
{{semorg-showedit
   |target={{{?target|}}}
  |form={{int:semorg-invoice-form}}
   |target={{{target|}}}
}}
}}
</tr></includeonly>
</tr></includeonly>

Latest revision as of 13:03, 14 November 2024

This page is part of the Semantic Organization extension.