refs #5760 update getChanges, traduccion
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
dd72ac9107
commit
bdffc0401f
|
@ -1,6 +1,6 @@
|
||||||
extends: [eslint:recommended, google, plugin:jasmine/recommended]
|
extends: [eslint:recommended, google, plugin:jasmine/recommended]
|
||||||
parserOptions:
|
parserOptions:
|
||||||
ecmaVersion: 2018
|
ecmaVersion: 2020
|
||||||
sourceType: "module"
|
sourceType: "module"
|
||||||
plugins:
|
plugins:
|
||||||
- jasmine
|
- jasmine
|
||||||
|
|
|
@ -61,7 +61,7 @@ module.exports = Self => {
|
||||||
const oldQuantity = log.oldInstance.quantity;
|
const oldQuantity = log.oldInstance.quantity;
|
||||||
const newQuantity = log.newInstance?.quantity || 0;
|
const newQuantity = log.newInstance?.quantity || 0;
|
||||||
|
|
||||||
if (oldQuantity || newQuantity) {
|
if (oldQuantity > newQuantity) {
|
||||||
const changeMessage = $t('Change quantity', {
|
const changeMessage = $t('Change quantity', {
|
||||||
concept: log.changedModelValue,
|
concept: log.changedModelValue,
|
||||||
oldQuantity: oldQuantity || 0,
|
oldQuantity: oldQuantity || 0,
|
||||||
|
|
|
@ -23,4 +23,4 @@ Restore ticket: Restaurar ticket
|
||||||
You are going to restore this ticket: Vas a restaurar este ticket
|
You are going to restore this ticket: Vas a restaurar este ticket
|
||||||
Are you sure you want to restore this ticket?: ¿Seguro que quieres restaurar el ticket?
|
Are you sure you want to restore this ticket?: ¿Seguro que quieres restaurar el ticket?
|
||||||
Are you sure you want to refund all?: ¿Seguro que quieres abonar todo?
|
Are you sure you want to refund all?: ¿Seguro que quieres abonar todo?
|
||||||
Send changes: "Verdnatura le recuerda:\rPedido {{ticketId}} día {{created | date: 'dd/MM/yyyy'}}\r{{changes}}"
|
Send changes: "Verdnatura:\rPedido {{ticketId}}\r{{changes}}"
|
||||||
|
|
Loading…
Reference in New Issue