Template: Semorg-invoice-open-row: Difference between revisions
From SemanticOrganization
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>[[{{{ | <td>[[{{{target|}}}|{{{number|}}}]]</td> | ||
<td>{{semorg-date|{{{ | <td>{{semorg-date|{{{date|}}}|short-noyear}}</td> | ||
<td>{{semorg-date|{{{ | <td>{{semorg-date|{{{due-date|}}}|short-noyear}} {{#if:{{{due-date|}}} | ||
|{{#semorg-true:{{{ | |{{#semorg-true:{{{payed|}}} | ||
| | | | ||
|{{#ifexpr:{{#time:U}} > {{#time:U|{{{ | |{{#ifexpr:{{#time:U}} > {{#time:U|{{{due-date|}}}}} | ||
|{{#ifexpr:{{#time:U|-{{int:semorg-invoice-status-overdue-weeks}} week}} < {{#time:U|{{{ | |{{#ifexpr:{{#time:U|-{{int:semorg-invoice-status-overdue-weeks}} week}} < {{#time:U|{{{due-date|}}}}} | ||
|<span class="badge | |<span class="badge text-bg-warning">{{int:semorg-invoice-status-due}}</span> | ||
|<span class="badge | |<span class="badge text-bg-danger">{{int:semorg-invoice-status-overdue}}</span> | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
}}</td> | }}</td> | ||
<td>{{{ | <td>{{{recipient|}}}<div class="semorg-list-row-details"> | ||
{{{ | {{{description|}}}</div></td> | ||
<td>{{semorg-account-link|{{{ | <td>{{semorg-account-link|{{{issuer|}}}}}</td> | ||
<td style="text-align:right">{{semorg-currency|{{{ | <td style="text-align:right">{{semorg-currency|{{{amount-gross|}}}}}</td> | ||
{{semorg-showedit | {{semorg-showedit | ||
|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.