buy requests translation & default order
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-05-02 10:04:02 +02:00
parent bad3200b21
commit a2fd8ddc8a
4 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ class Controller {
actions: false actions: false
}; };
this.moreOptions = [ this.moreOptions = [
{callback: this.goToTicketRequest, name: 'Ticket request', acl: 'buyer'} {callback: this.goToTicketRequest, name: 'Buy requests', acl: 'buyer'}
]; ];
} }

View File

@ -1,2 +1,2 @@
picture: Foto picture: Foto
Ticket request: Peticiones de compra Buy requests: Peticiones de compra

View File

@ -18,11 +18,11 @@
</vn-horizontal> </vn-horizontal>
</vn-card> </vn-card>
<vn-card margin-medium-v> <vn-card margin-medium-v>
<vn-table model="model" auto-load="false"> <vn-table model="model">
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>
<vn-th number field="ticketFk">Ticket ID</vn-th> <vn-th number field="ticketFk">Ticket ID</vn-th>
<vn-th field="shipped">Shipped</vn-th> <vn-th field="shipped" default-order="DESC">Shipped</vn-th>
<vn-th field="warehouse">Warehouse</vn-th> <vn-th field="warehouse">Warehouse</vn-th>
<vn-th field="salesPersonNickname">SalesPerson</vn-th> <vn-th field="salesPersonNickname">SalesPerson</vn-th>
<vn-th field="description">Description</vn-th> <vn-th field="description">Description</vn-th>

View File

@ -126,7 +126,7 @@
"url" : "/request?q", "url" : "/request?q",
"state": "item.request", "state": "item.request",
"component": "vn-item-request", "component": "vn-item-request",
"description": "Item request", "description": "Buy requests",
"params": { "params": {
"item": "$ctrl.item" "item": "$ctrl.item"
}, },