parent
23554e5d5b
commit
8fe6c651e3
|
@ -12,7 +12,7 @@ class Controller {
|
||||||
this.edit = {};
|
this.edit = {};
|
||||||
this.moreOptions = [
|
this.moreOptions = [
|
||||||
{
|
{
|
||||||
name: 'Send SMS',
|
name: 'Send shortage SMS',
|
||||||
callback: this.showSMSDialog
|
callback: this.showSMSDialog
|
||||||
}, {
|
}, {
|
||||||
name: 'Mark as reserved',
|
name: 'Mark as reserved',
|
||||||
|
@ -179,10 +179,9 @@ class Controller {
|
||||||
totalCheckedLines() {
|
totalCheckedLines() {
|
||||||
const checkedLines = this.checkedLines();
|
const checkedLines = this.checkedLines();
|
||||||
if (checkedLines)
|
if (checkedLines)
|
||||||
return checkedLines.length;
|
return checkedLines.lengt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
removeCheckedLines() {
|
removeCheckedLines() {
|
||||||
const sales = this.checkedLines();
|
const sales = this.checkedLines();
|
||||||
|
|
||||||
|
@ -448,7 +447,7 @@ class Controller {
|
||||||
this.newSMS = {
|
this.newSMS = {
|
||||||
destinationFk: this.ticket.clientFk,
|
destinationFk: this.ticket.clientFk,
|
||||||
destination: phone,
|
destination: phone,
|
||||||
message: this.$translate.instant('SMSAvailability', params)
|
message: this.$translate.instant('Product not available', params)
|
||||||
};
|
};
|
||||||
this.$scope.sms.open();
|
this.$scope.sms.open();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
SMSAvailability: >-
|
Product not available: >-
|
||||||
Verdnatura communicates: Your order {{ticketFk}} created on {{created | date: "dd/MM/yyyy"}}.
|
Verdnatura communicates: Your order {{ticketFk}} created on {{created | date: "dd/MM/yyyy"}}.
|
||||||
{{notAvailables}} not available. Sorry for the inconvenience.
|
{{notAvailables}} not available. Sorry for the inconvenience.
|
|
@ -24,7 +24,8 @@ Sales to transfer: Líneas a transferir
|
||||||
Destination ticket: Ticket destinatario
|
Destination ticket: Ticket destinatario
|
||||||
Change ticket state to 'Ok': Cambiar estado del ticket a 'Ok'
|
Change ticket state to 'Ok': Cambiar estado del ticket a 'Ok'
|
||||||
Reserved: Reservado
|
Reserved: Reservado
|
||||||
SMSAvailability: "Verdnatura le comunica:\rPedido {{ticketFk}} día {{created | date: 'dd/MM/yyyy'}}.\r{{notAvailables}} no disponible/s.\rDisculpe las molestias."
|
Send shortage SMS: Enviar SMS faltas
|
||||||
|
Product not available: "Verdnatura le comunica:\rPedido {{ticketFk}} día {{created | date: 'dd/MM/yyyy'}}.\r{{notAvailables}} no disponible/s.\rDisculpe las molestias."
|
||||||
Continue anyway?: ¿Continuar de todas formas?
|
Continue anyway?: ¿Continuar de todas formas?
|
||||||
This ticket is now empty: El ticket ha quedado vacio
|
This ticket is now empty: El ticket ha quedado vacio
|
||||||
Do you want to delete it?: ¿Quieres eliminarlo?
|
Do you want to delete it?: ¿Quieres eliminarlo?
|
||||||
|
|
Loading…
Reference in New Issue