Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 1791_dreprecate_boot-salixjs

This commit is contained in:
Carlos Jimenez Ruiz 2020-05-21 09:25:19 +02:00
commit 4df8d78a4b
19 changed files with 33 additions and 16 deletions

View File

@ -15,3 +15,14 @@ UPDATE `vn`.`claimState` SET `code` = 'resolved' WHERE (`id` = '3');
UPDATE `vn`.`claimState` SET `code` = 'disputed' WHERE (`id` = '5'); UPDATE `vn`.`claimState` SET `code` = 'disputed' WHERE (`id` = '5');
UPDATE `vn`.`claimState` SET `code` = 'mana' WHERE (`id` = '6'); UPDATE `vn`.`claimState` SET `code` = 'mana' WHERE (`id` = '6');
UPDATE `vn`.`claimState` SET `code` = 'managed' WHERE (`id` = '2'); UPDATE `vn`.`claimState` SET `code` = 'managed' WHERE (`id` = '2');
ALTER TABLE `vn`.`claimState`
ADD COLUMN `priority` INT NOT NULL DEFAULT 1 AFTER `roleFk`;
UPDATE `vn`.`claimState` SET `priority` = '1' WHERE (`id` = '1');
UPDATE `vn`.`claimState` SET `priority` = '5' WHERE (`id` = '2');
UPDATE `vn`.`claimState` SET `priority` = '7' WHERE (`id` = '3');
UPDATE `vn`.`claimState` SET `priority` = '6' WHERE (`id` = '4');
UPDATE `vn`.`claimState` SET `priority` = '3' WHERE (`id` = '5');
UPDATE `vn`.`claimState` SET `priority` = '4' WHERE (`id` = '6');
UPDATE `vn`.`claimState` SET `priority` = '2' WHERE (`id` = '7');

View File

@ -1,10 +0,0 @@
ALTER TABLE `vn`.`claimState`
ADD COLUMN `priority` INT NOT NULL DEFAULT 1 AFTER `roleFk`;
UPDATE `vn`.`claimState` SET `priority` = '1' WHERE (`id` = '1');
UPDATE `vn`.`claimState` SET `priority` = '5' WHERE (`id` = '2');
UPDATE `vn`.`claimState` SET `priority` = '7' WHERE (`id` = '3');
UPDATE `vn`.`claimState` SET `priority` = '6' WHERE (`id` = '4');
UPDATE `vn`.`claimState` SET `priority` = '3' WHERE (`id` = '5');
UPDATE `vn`.`claimState` SET `priority` = '4' WHERE (`id` = '6');
UPDATE `vn`.`claimState` SET `priority` = '2' WHERE (`id` = '7');

View File

@ -1,7 +1,8 @@
const app = require('vn-loopback/server/server'); const app = require('vn-loopback/server/server');
const ParameterizedSQL = require('loopback-connector').ParameterizedSQL; const ParameterizedSQL = require('loopback-connector').ParameterizedSQL;
describe('worker workerTimeControl_check()', () => { // #2257 xdescribe dbtest workerTimeControl_check()
xdescribe('worker workerTimeControl_check()', () => {
it(`should throw an error if the worker can't sign on that tablet`, async() => { it(`should throw an error if the worker can't sign on that tablet`, async() => {
let stmts = []; let stmts = [];
let stmt; let stmt;

View File

@ -0,0 +1 @@
Search by: Search by {{module | translate}}

View File

@ -0,0 +1 @@
Search by: Buscar por {{module | translate}}

View File

@ -1,7 +1,7 @@
<form ng-submit="$ctrl.onSubmit()"> <form ng-submit="$ctrl.onSubmit()">
<vn-textfield <vn-textfield
class="dense standout" class="dense standout"
placeholder="{{::'Search' | translate}}" placeholder="{{::'Search by' | translate: {module: $ctrl.baseState} }}"
ng-model="$ctrl.searchString"> ng-model="$ctrl.searchString">
<prepend> <prepend>
<vn-icon <vn-icon

View File

@ -136,7 +136,6 @@ export default class Searchbar extends Component {
fromBar() { fromBar() {
let filter = {}; let filter = {};
if (this.searchString) if (this.searchString)
filter.search = this.searchString; filter.search = this.searchString;

View File

@ -14,4 +14,5 @@ Send Pickup order: Enviar orden de recogida
Show Pickup order: Ver orden de recogida Show Pickup order: Ver orden de recogida
Search claim by id or client name: Buscar reclamaciones por identificador o nombre de cliente Search claim by id or client name: Buscar reclamaciones por identificador o nombre de cliente
Claim deleted!: Reclamación eliminada! Claim deleted!: Reclamación eliminada!
claim: reclamacióm

View File

@ -0,0 +1 @@
BILL: N/INV {{ref}}

View File

@ -1,6 +1,7 @@
Active: Activo Active: Activo
Amount: Importe Amount: Importe
Client: Cliente Client: Cliente
client: cliente
Comercial Name: Comercial Comercial Name: Comercial
Has to invoice: Factura Has to invoice: Factura
Invoice by mail: Factura via e-mail Invoice by mail: Factura via e-mail

View File

@ -1,3 +1,5 @@
#Ordenar alfabeticamente #Ordenar alfabeticamente
entry: entrada
# Sections # Sections

View File

@ -1,2 +1,3 @@
Invoice out: Facturas Invoice out: Facturas
invoiceOut: factura
Search invoices by reference: Buscar facturas por referencia Search invoices by reference: Buscar facturas por referencia

View File

@ -1,4 +1,5 @@
Item: Artículo Item: Artículo
item: artículo
View item: Ver artículo View item: Ver artículo
Category: Reino Category: Reino
Description: Descripción Description: Descripción

View File

@ -20,4 +20,5 @@ Color and price: Color y precio
Ascendant: Ascendente Ascendant: Ascendente
Descendant: Descendente Descendant: Descendente
Created from: Creado desde Created from: Creado desde
Search orders by id: Buscar en la cesta por identificador Search order by id: Buscar el pedido por identificador
order: pedido

View File

@ -1,3 +1,4 @@
Routes: Rutas Routes: Rutas
Search routes by id: Buscar rutas por identificador Search routes by id: Buscar rutas por identificador
New route: Nueva ruta New route: Nueva ruta
route: ruta

View File

@ -61,6 +61,7 @@ Invoice: Factura
You are going to delete this ticket: Vas a eliminar este ticket You are going to delete this ticket: Vas a eliminar este ticket
Ticket deleted: Ticket borrado Ticket deleted: Ticket borrado
Search ticket by id or alias: Buscar tickets por identificador o alias Search ticket by id or alias: Buscar tickets por identificador o alias
ticket: ticket
#sections #sections
List: Listado List: Listado

View File

@ -13,6 +13,8 @@ Received: Recibido
Travel id: Id envío Travel id: Id envío
Search travels by id: Buscar envíos por identificador Search travels by id: Buscar envíos por identificador
New travel: Nuevo envío New travel: Nuevo envío
travel: envio
# Sections # Sections
Travels: Envíos Travels: Envíos
Log: Historial Log: Historial

View File

@ -18,3 +18,4 @@ User id: Id de usuario
View worker: Ver trabajador View worker: Ver trabajador
Worker id: Id trabajador Worker id: Id trabajador
Workers: Trabajadores Workers: Trabajadores
worker: trabajador

View File

@ -30,3 +30,4 @@ Warehouse: Almacén
Warehouses: Almacenes Warehouses: Almacenes
Week days: Días de la semana Week days: Días de la semana
Zones: Zonas Zones: Zonas
zone: zona