|
|
|
@ -95,15 +95,15 @@
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th class="col-md-2 hidden-xs">Data</th>
|
|
|
|
<th class="col-md-2 hidden-xs">Data</th>
|
|
|
|
<th class="col-md-3 hidden-xs">Tipo</th>
|
|
|
|
<th class="col-md-3 hidden-xs">Tipo</th>
|
|
|
|
<th class="col-md-3">Autor</th>
|
|
|
|
<th class="col-md-2">Autor</th>
|
|
|
|
<th class="col-md-2">Estado</th>
|
|
|
|
<th class="col-md-2">Estado</th>
|
|
|
|
<th class="col-md-1"> </th>
|
|
|
|
<th class="col-md-1"> </th>
|
|
|
|
<th class="col-md-1">Ficha A.</th>
|
|
|
|
<th class="col-md-2">F. Aptidão</th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="item in storeFichasTrabalhador.items">
|
|
|
|
<tr ng-repeat="item in storeFichasTrabalhador.items">
|
|
|
|
<td class="hidden-xs"><span ng-bind="item.data | date: 'yyyy-MM-dd hh:mm'"></span></td>
|
|
|
|
<td class="hidden-xs"><span ng-bind="item.data | date: globals.settings.dateTimeFormat"></span></td>
|
|
|
|
<td class="hidden-xs"><span ng-bind="item.tipo"></span></td>
|
|
|
|
<td class="hidden-xs"><span ng-bind="item.tipo"></span></td>
|
|
|
|
<td><span ng-bind="item.responsavel"></span></td>
|
|
|
|
<td><span ng-bind="item.responsavel"></span></td>
|
|
|
|
<td><span ng-class="{'label label-success': item.concluido, 'label label-primary': !item.concluido}">{{item.concluido ? 'Concluído' : 'Em Aberto'}}</span></td>
|
|
|
|
<td><span ng-class="{'label label-success': item.concluido, 'label label-primary': !item.concluido}">{{item.concluido ? 'Concluído' : 'Em Aberto'}}</span></td>
|
|
|
|
@ -118,7 +118,10 @@
|
|
|
|
<span class="glyphicon glyphicon-plus"></span> <span>Emitir</span>
|
|
|
|
<span class="glyphicon glyphicon-plus"></span> <span>Emitir</span>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
|
|
<span ng-show="item.emissao_ficha_aptidao && emiteFichaAptidao(item)" class="label label-success" data-toggle="tooltip" data-placement="right" title="Ficha de Aptidão Emitida">Emitida</span>
|
|
|
|
<span ng-show="item.emissao_ficha_aptidao" class="label label-success" data-toggle="tooltip" data-placement="right"
|
|
|
|
|
|
|
|
ng-attr-title="Ficha de Aptidão Emitida em {{item.emissao_ficha_aptidao ? (item.emissao_ficha_aptidao | date: globals.settings.dateTimeFormat) : null}}">
|
|
|
|
|
|
|
|
Emitida
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
|