Template: Semorg-invoice-row: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 2: Line 2:
<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}}{{#semorg-true:{{{?payed|}}}
<td>{{#if:{{{?due-date|}}}
  |<span class="badge badge-success">{{int:semorg-task-status-done}}</span> {{int:semorg-timespan-since|{{{?payment-date|}}}}}  
  |{{#semorg-true:{{{?payed|}}}
  |{{#ifexpr:{{#time:U}} < {{#time:U|{{{?due-date|}}}}}
    |{{semorg-date|{{{?due-date|}}}|short-noyear}}
    |<span class="badge badge-warning">{{int:semorg-task-status-due}}</span> {{int:semorg-timespan-until|{{{?due-date|}}}}}
    |{{#ifexpr:{{#time:U}} < {{#time:U|{{{?due-date|}}}}}
    |<span class="badge badge-danger">{{int:semorg-task-status-overdue}}</span> {{int:semorg-timespan-since|{{{?due-date|}}}}}
      |<span class="badge badge-warning">{{int:semorg-task-status-due}}</span> {{int:semorg-timespan-until|{{{?due-date|}}}}}
      |<span class="badge badge-danger">{{int:semorg-task-status-overdue}}</span> {{int:semorg-timespan-since|{{{?due-date|}}}}}
    }}
   }}
   }}
}}</td>
}}</td>

Revision as of 10:03, 22 March 2020

This page is part of the Semantic Organization extension.