Merge pull request 'fixes #5077 Ticket/Basic Data no guarda la hora de envío' (!1274) from 5077-horaEnvio-ticketBasicData into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1274
Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
Joan Sanchez 2023-02-02 07:44:24 +00:00
commit 176b47bf97
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- (Artículos -> Etiquetas) Permite intercambiar la relevancia entre dos etiquetas.
- (Cliente -> Datos Fiscales) No se permite seleccionar 'Notificar vía e-mail' a los clientes sin e-mail
- (Tickets -> Datos básicos) Permite guardar la hora de envío
- (Tickets -> Añadir pago) Eliminado "null" en las referencias
## [2302.01] - 2023-01-26

View File

@ -75,8 +75,10 @@ class Controller extends Component {
}
set shipped(value) {
if (new Date(this.ticket.shipped).toDateString() != value.toDateString())
value.setHours(0, 0, 0, 0);
this.ticket.shipped = value;
this.ticket.shipped.setHours(0, 0, 0, 0);
this.getLanded({
shipped: value,
addressFk: this.ticket.addressFk,