Merge pull request 'fixes #5074 ticket balance pone null' (!1284) from 5074-ticketBalance-null into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1284 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
70d1e5f331
|
@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- (Artículos -> Etiquetas) Permite intercambiar la relevancia entre dos etiquetas.
|
- (Artículos -> Etiquetas) Permite intercambiar la relevancia entre dos etiquetas.
|
||||||
|
- (Tickets -> Añadir pago) Eliminado "null" en las referencias
|
||||||
|
|
||||||
## [2302.01] - 2023-01-26
|
## [2302.01] - 2023-01-26
|
||||||
|
|
||||||
|
|
|
@ -59,13 +59,11 @@ class Controller extends Dialog {
|
||||||
|
|
||||||
if (value) {
|
if (value) {
|
||||||
const accountingType = value.accountingType;
|
const accountingType = value.accountingType;
|
||||||
if (this.originalDescription) {
|
if (accountingType.receiptDescription != null) {
|
||||||
this.receipt.description =
|
this.receipt.description = accountingType.receiptDescription;
|
||||||
`${accountingType && accountingType.receiptDescription}, ${this.originalDescription}`;
|
if (this.originalDescription) this.receipt.description += `, ${this.originalDescription}`;
|
||||||
} else {
|
} else if (this.originalDescription)
|
||||||
this.receipt.description =
|
this.receipt.description = this.originalDescription;
|
||||||
`${accountingType && accountingType.receiptDescription}`;
|
|
||||||
}
|
|
||||||
this.maxAmount = accountingType && accountingType.maxAmount;
|
this.maxAmount = accountingType && accountingType.maxAmount;
|
||||||
|
|
||||||
this.receipt.payed = new Date();
|
this.receipt.payed = new Date();
|
||||||
|
|
Loading…
Reference in New Issue