refs #5436 showSucces
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2023-03-27 10:00:00 +02:00
parent 40ccc4f409
commit 1302665d98
2 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,10 @@ class Controller extends Descriptor {
} }
sendPickupOrder() { sendPickupOrder() {
if (!this.claim.client.email) {
this.vnApp.showSuccess(this.$t('The client does not have an email'));
return;
}
return this.vnEmail.send(`Claims/${this.claim.id}/claim-pickup-email`, { return this.vnEmail.send(`Claims/${this.claim.id}/claim-pickup-email`, {
recipient: this.claim.client.email, recipient: this.claim.client.email,
recipientId: this.claim.clientFk recipientId: this.claim.clientFk

View File

@ -20,3 +20,4 @@ Photos: Fotos
Go to the claim: Ir a la reclamación Go to the claim: Ir a la reclamación
Sale tracking: Líneas preparadas Sale tracking: Líneas preparadas
Ticket tracking: Estados del ticket Ticket tracking: Estados del ticket
The client does not have an email: El cliente no tiene email