Template: Semorg-invoice-open-row: Difference between revisions
From SemanticOrganization
m (Text replacement - "{{{?" to "{{{") |
m (Text replacement - "badge-danger" to "text-bg-danger") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|{{#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 | |<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> | ||
}} | }} | ||
}} | }} | ||
Line 18: | Line 18: | ||
<td style="text-align:right">{{semorg-currency|{{{amount-gross|}}}}}</td> | <td style="text-align:right">{{semorg-currency|{{{amount-gross|}}}}}</td> | ||
{{semorg-showedit | {{semorg-showedit | ||
|form={{int:semorg-invoice-form}} | |||
|target={{{target|}}} | |target={{{target|}}} | ||
}} | }} | ||
</tr></includeonly> | </tr></includeonly> |
Latest revision as of 13:03, 14 November 2024
This page is part of the Semantic Organization extension.