warehouse frontend
This commit is contained in:
@@ -192,6 +192,15 @@
|
||||
(sort)="onSort($event)"
|
||||
i18n>Storage path</th>
|
||||
}
|
||||
@if (permissionService.currentUserCan(PermissionAction.View, PermissionType.Warehouse)) {
|
||||
<th class="d-none d-xl-table-cell"
|
||||
pngxSortable="warehouse__name"
|
||||
title="Sort by warehouse" i18n-title
|
||||
[currentSortField]="list.sortField"
|
||||
[currentSortReverse]="list.sortReverse"
|
||||
(sort)="onSort($event)"
|
||||
i18n>Warehouse</th>
|
||||
}
|
||||
<th
|
||||
pngxSortable="created"
|
||||
title="Sort by created date" i18n-title
|
||||
@@ -260,6 +269,13 @@
|
||||
}
|
||||
</td>
|
||||
}
|
||||
@if (permissionService.currentUserCan(PermissionAction.View, PermissionType.Warehouse)) {
|
||||
<td class="d-none d-xl-table-cell">
|
||||
@if (d.warehouses) {
|
||||
<a (click)="clickWarehouse(d.warehouses);$event.stopPropagation()" title="Filter by warehouse" i18n-title>{{(d.warehouses$ | async)?.name}}</a>
|
||||
}
|
||||
</td>
|
||||
}
|
||||
<td>
|
||||
{{d.created_date | customDate}}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user