

<!--{{#if Tasks}}-->
<table class="table table-striped table-condensed table-hover">
<thead>
<tr>
<th colspan="2">Assigned To</th>
<th>Task</th>
<th class="text-right">Due</th>
</tr>
</thead>
<tbody>
<!--{{#each Tasks}}-->
<tr style="{{#if Completed}}opacity:.5;{{/if}}">
<td>
<!--{{#if Completed}}--><i class="fas fa-check-square fa-2x" style="color:green"></i>
<!--{{else}}--><i class="far fa-square fa-2x" style="color:#777"></i>
<!--{{/if}}-->
</td>
<td>
<span class="fa-stack" data-toggle="tooltip" data-placement="top" title="{{{AssignedToEmployee.Name}}}" data-container="body"><i class="fa fa-square fa-stack-2x color-blue1"></i><i class="fa fa-stack-1x fa-inverse">{{AssignedToEmployee.Initials}}</i> </span>
</td>
<td>{{Details}}</td>
<td class="text-right">
<!--{{#if Completed}}-->
<!--{{else}}--><span {{#if (isSameOrAfter (moment Today) DueDate)}} style="color: red;font-weight:bold;" {{/if}}>{{dateFormat DueDate format="DD/MM/YY"}}</span>
<!--{{/if}}-->
</td>
</tr>
<!--{{/each}}-->
</tbody>
</table>
<!--{{/if}}-->
<!--{{#if Tasks}}-->
<table class="table table-striped table-condensed table-hover">
<thead>
<tr>
<th colspan="2">Assigned To</th>
<th>Task</th>
<th class="text-right">Due</th>
</tr>
</thead>
<tbody>
<!--{{#each Tasks}}-->
<!--{{#unless Completed}}-->
<tr style="{{#if Completed}}opacity:.5;{{/if}}">
<td>
<!--{{#if Completed}}--><i class="fas fa-check-square fa-2x" style="color:green"></i>
<!--{{else}}--><i class="far fa-square fa-2x" style="color:#777"></i>
<!--{{/if}}-->
</td>
<td>
<span class="fa-stack" data-toggle="tooltip" data-placement="top" title="{{{AssignedToEmployee.Name}}}" data-container="body"><i class="fa fa-square fa-stack-2x color-blue1"></i><i class="fa fa-stack-1x fa-inverse">{{AssignedToEmployee.Initials}}</i> </span>
</td>
<td>{{Details}}</td>
<td class="text-right">
<!--{{#if Completed}}-->
<!--{{else}}--><span {{#if (isSameOrAfter (moment Today) DueDate)}} style="color: red;font-weight:bold;" {{/if}}>{{dateFormat DueDate format="DD/MM/YY"}}</span>
<!--{{/if}}-->
</td>
</tr>
<!--{{/unless}}-->
<!--{{/each}}-->
</tbody>
</table>
<!--{{/if}}-->
<!--{{#if Tasks}}-->
<tr>
<td class="label dept-items-label" style="width:18% !important;">TASKS:</td>
<td class="label" colspan="2">Details</td>
<td class="label" colspan="2">Assigned To</td>
<td class="label text-right">Due </td>
</tr>
<!--{{#each Tasks}}-->
<tr>
<td class="label" style="width:18% !important;">
<!--{{#if Completed}}--><input type="checkbox" checked>
<!--{{else}}--><input type="checkbox">
<!--{{/if}}-->
</td>
<td class="value" colspan="2">{{Details}}
</td>
<td class="value" colspan="2">{{{AssignedToEmployee.Name}}}</td>
<td class="value text-right">
<!--{{#if Completed}}-->
<!--{{else}}--><span {{#if (isSameOrAfter (moment Today) DueDate)}} style="color: red;font-weight:bold;" {{/if}}>{{dateFormat DueDate format="DD/MM/YY"}}</span>
<!--{{/if}}-->
</td>
</tr>
<!--{{/each}}-->
<!--{{/if}}-->
If you have any ideas for portal customizations you'd like to see us tackle or need help implementing any of this code, email our support team at support@docketmanager.ca