diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 30788658e..59cd1170a 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -450,6 +450,7 @@ ticket: futureTickets: Future tickets purchaseRequest: Purchase request weeklyTickets: Weekly tickets + services: Service tracking: Tracking list: nickname: Nickname diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 8168cb361..e35e3d41c 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -449,6 +449,7 @@ ticket: futureTickets: Tickets a futuro purchaseRequest: Petición de compra weeklyTickets: Tickets programados + services: Servicios tracking: Estados list: nickname: Alias diff --git a/src/pages/Ticket/Card/TicketCreateServiceType.vue b/src/pages/Ticket/Card/TicketCreateServiceType.vue new file mode 100644 index 000000000..d392ec206 --- /dev/null +++ b/src/pages/Ticket/Card/TicketCreateServiceType.vue @@ -0,0 +1,49 @@ + + + + + +es: + New service type: Nuevo tipo de servicio + diff --git a/src/pages/Ticket/Card/TicketService.vue b/src/pages/Ticket/Card/TicketService.vue new file mode 100644 index 000000000..4cc8207ef --- /dev/null +++ b/src/pages/Ticket/Card/TicketService.vue @@ -0,0 +1,190 @@ + + + diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml index e01232270..39aed4af7 100644 --- a/src/pages/Ticket/locale/en.yml +++ b/src/pages/Ticket/locale/en.yml @@ -149,6 +149,16 @@ weeklyTickets: salesperson: Salesperson search: Search weekly tickets searchInfo: Search weekly tickets by id or client id +service: + pay: Pay + description: Description + quantity: Quantity + price: Price + removeService: Remove service + newService: New service type + addService: Add service + quantityInfo: To create services with negative amounts mark the service on the source ticket and press the pay button. + createRefundSuccess: 'The following refund ticket have been created: { ticketId }' tracking: state: State worker: Worker diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml index 15905eda7..d5b50efc5 100644 --- a/src/pages/Ticket/locale/es.yml +++ b/src/pages/Ticket/locale/es.yml @@ -1,3 +1,13 @@ +service: + pay: Abonar + description: Descripción + quantity: Cantidad + price: Precio + removeService: Quitar servicio + newService: Nuevo tipo de servicio + addService: Añadir servicio + quantityInfo: Para crear sevicios con cantidades negativas marcar servicio en el ticket origen y apretar el boton abonar. + createRefundSuccess: 'Se ha creado siguiente ticket de abono: { ticketId }' tracking: state: Estado worker: Trabajador diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js index b377074a9..1e635470b 100644 --- a/src/router/modules/ticket.js +++ b/src/router/modules/ticket.js @@ -19,6 +19,7 @@ export default { 'TicketSale', 'TicketLog', 'TicketPurchaseRequest', + 'TicketService', 'TicketTracking', 'TicketVolume', 'TicketNotes', @@ -159,6 +160,16 @@ export default { }, component: () => import('src/pages/Ticket/Card/TicketSms.vue'), }, + + { + path: 'service', + name: 'TicketService', + meta: { + title: 'services', + icon: 'vn:services', + }, + component: () => import('src/pages/Ticket/Card/TicketService.vue'), + }, { path: 'volume', name: 'TicketVolume',