v.2.13
-Add delete reports
This commit is contained in:
@@ -102,11 +102,22 @@
|
||||
<td>{{ report.name }}</td>
|
||||
<td>{{ report.start_date }}</td>
|
||||
<td>{{ report.end_date }}</td>
|
||||
<td>
|
||||
<td ng-if="delete_shift_value == 0">
|
||||
<button class="btn btn-sm white" ng-click="archiveReport(report.type, report.start_date, report.end_date)">
|
||||
<i class="material-icons"></i>
|
||||
</button>
|
||||
</td>
|
||||
<td ng-if="delete_shift_value > 0">
|
||||
<div class="dropdown inline" style="margin-top: -5px; position: absolute;">
|
||||
<button class="btn white dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="padding: 0.2rem 0.4rem">
|
||||
<i class="material-icons"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu pull-right dropdown-menu-scale">
|
||||
<a class="dropdown-item" ng-click="archiveReport(report.type, report.start_date, report.end_date)">Просмотр</a>
|
||||
<a class="dropdown-item" ng-click="deleteReport(report)">Удалить отчет</a>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user