refactor(SuggestedTickets): added translations and descriptors #945

Merged
joan merged 1 commits from 3641-suggestedTickets_refactor into dev 2022-04-22 09:37:53 +00:00
4 changed files with 16 additions and 3 deletions
Showing only changes of commit 9d46b4c79c - Show all commits

View File

@ -59,6 +59,12 @@ module.exports = Self => {
fields: ['id', 'name']
}
},
{
relation: 'agencyMode',
scope: {
fields: ['id', 'name']
}
},
{
relation: 'address',
scope: {

View File

@ -0,0 +1 @@
Unlink zone: Unlink zone {{zoneName}} from agency {{agencyName}}

View File

@ -1,4 +1,5 @@
Routes: Rutas
Search routes by id: Buscar rutas por identificador
New route: Nueva ruta
route: ruta
route: ruta
Unlink zone: Desvincular zona {{zoneName}} de agencia {{agencyName}}

View File

@ -33,7 +33,7 @@
</vn-th>
<vn-th expand>PC</vn-th>
<vn-th>Address</vn-th>
<vn-th shrink>Warehouse</vn-th>
<vn-th shrink>Zone</vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
@ -62,7 +62,7 @@
<vn-icon-button
icon="link_off"
class="pointer"
translate-attr="{title: 'Unlink zone: {{::ticket.zone.name}} from agency: {{::ticket.agencyMode.name}}'}"
title="{{'Unlink zone' | translate: {zoneName: ticket.zone.name, agencyName: ticket.agencyMode.name} }}"
ng-click="unlinkZoneConfirmation.show(ticket)">
</vn-icon-button>
</vn-td>
@ -76,4 +76,9 @@
question="{{$ctrl.confirmationMessage}}"
message="Unlink selected zone?">
</vn-confirm>
<vn-ticket-descriptor-popover vn-id="ticket-descriptor">
</vn-ticket-descriptor-popover>
<vn-client-descriptor-popover vn-id="client-descriptor">
</vn-client-descriptor-popover>
</tpl-body>