Merge branch 'dev' of https: refs #7119//gitea.verdnatura.es/verdnatura/salix-front into 7119-createVehicle
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
commit
cd82a208cc
|
@ -12,6 +12,7 @@ const props = defineProps({
|
||||||
baseUrl: { type: String, default: undefined },
|
baseUrl: { type: String, default: undefined },
|
||||||
customUrl: { type: String, default: undefined },
|
customUrl: { type: String, default: undefined },
|
||||||
filter: { type: Object, default: () => {} },
|
filter: { type: Object, default: () => {} },
|
||||||
|
userFilter: { type: Object, default: () => {} },
|
||||||
descriptor: { type: Object, required: true },
|
descriptor: { type: Object, required: true },
|
||||||
filterPanel: { type: Object, default: undefined },
|
filterPanel: { type: Object, default: undefined },
|
||||||
searchDataKey: { type: String, default: undefined },
|
searchDataKey: { type: String, default: undefined },
|
||||||
|
@ -32,6 +33,7 @@ const url = computed(() => {
|
||||||
const arrayData = useArrayData(props.dataKey, {
|
const arrayData = useArrayData(props.dataKey, {
|
||||||
url: url.value,
|
url: url.value,
|
||||||
filter: props.filter,
|
filter: props.filter,
|
||||||
|
userFilter: props.userFilter,
|
||||||
});
|
});
|
||||||
|
|
||||||
onBeforeMount(async () => {
|
onBeforeMount(async () => {
|
||||||
|
|
|
@ -2,8 +2,8 @@ globals:
|
||||||
lang:
|
lang:
|
||||||
es: Spanish
|
es: Spanish
|
||||||
en: English
|
en: English
|
||||||
quantity: Quantity
|
|
||||||
language: Language
|
language: Language
|
||||||
|
quantity: Quantity
|
||||||
entity: Entity
|
entity: Entity
|
||||||
preview: Preview
|
preview: Preview
|
||||||
user: User
|
user: User
|
||||||
|
@ -37,7 +37,6 @@ globals:
|
||||||
confirm: Confirm
|
confirm: Confirm
|
||||||
assign: Assign
|
assign: Assign
|
||||||
back: Back
|
back: Back
|
||||||
downloadPdf: Download PDF
|
|
||||||
yes: 'Yes'
|
yes: 'Yes'
|
||||||
no: 'No'
|
no: 'No'
|
||||||
noChanges: No changes to save
|
noChanges: No changes to save
|
||||||
|
@ -61,6 +60,7 @@ globals:
|
||||||
downloadCSVSuccess: CSV downloaded successfully
|
downloadCSVSuccess: CSV downloaded successfully
|
||||||
reference: Reference
|
reference: Reference
|
||||||
agency: Agency
|
agency: Agency
|
||||||
|
entry: Entry
|
||||||
warehouseOut: Warehouse Out
|
warehouseOut: Warehouse Out
|
||||||
warehouseIn: Warehouse In
|
warehouseIn: Warehouse In
|
||||||
landed: Landed
|
landed: Landed
|
||||||
|
@ -69,11 +69,11 @@ globals:
|
||||||
amount: Amount
|
amount: Amount
|
||||||
packages: Packages
|
packages: Packages
|
||||||
download: Download
|
download: Download
|
||||||
|
downloadPdf: Download PDF
|
||||||
selectRows: 'Select all { numberRows } row(s)'
|
selectRows: 'Select all { numberRows } row(s)'
|
||||||
allRows: 'All { numberRows } row(s)'
|
allRows: 'All { numberRows } row(s)'
|
||||||
markAll: Mark all
|
markAll: Mark all
|
||||||
requiredField: Required field
|
requiredField: Required field
|
||||||
valueCantBeEmpty: Value cannot be empty
|
|
||||||
class: clase
|
class: clase
|
||||||
type: Type
|
type: Type
|
||||||
reason: reason
|
reason: reason
|
||||||
|
@ -83,6 +83,9 @@ globals:
|
||||||
warehouse: Warehouse
|
warehouse: Warehouse
|
||||||
company: Company
|
company: Company
|
||||||
fieldRequired: Field required
|
fieldRequired: Field required
|
||||||
|
valueCantBeEmpty: Value cannot be empty
|
||||||
|
Value can't be blank: Value cannot be blank
|
||||||
|
Value can't be null: Value cannot be null
|
||||||
allowedFilesText: 'Allowed file types: { allowedContentTypes }'
|
allowedFilesText: 'Allowed file types: { allowedContentTypes }'
|
||||||
smsSent: SMS sent
|
smsSent: SMS sent
|
||||||
confirmDeletion: Confirm deletion
|
confirmDeletion: Confirm deletion
|
||||||
|
@ -132,6 +135,26 @@ globals:
|
||||||
medium: Medium
|
medium: Medium
|
||||||
big: Big
|
big: Big
|
||||||
email: Email
|
email: Email
|
||||||
|
supplier: Supplier
|
||||||
|
ticketList: Ticket List
|
||||||
|
created: Created
|
||||||
|
worker: Worker
|
||||||
|
now: Now
|
||||||
|
name: Name
|
||||||
|
new: New
|
||||||
|
comment: Comment
|
||||||
|
observations: Observations
|
||||||
|
goToModuleIndex: Go to module index
|
||||||
|
createInvoiceIn: Create invoice in
|
||||||
|
myAccount: My account
|
||||||
|
noOne: No one
|
||||||
|
maxTemperature: Max
|
||||||
|
minTemperature: Min
|
||||||
|
changePass: Change password
|
||||||
|
deleteConfirmTitle: Delete selected elements
|
||||||
|
changeState: Change state
|
||||||
|
raid: 'Raid {daysInForward} days'
|
||||||
|
isVies: Vies
|
||||||
pageTitles:
|
pageTitles:
|
||||||
logIn: Login
|
logIn: Login
|
||||||
addressEdit: Update address
|
addressEdit: Update address
|
||||||
|
@ -153,13 +176,14 @@ globals:
|
||||||
subRoles: Subroles
|
subRoles: Subroles
|
||||||
inheritedRoles: Inherited Roles
|
inheritedRoles: Inherited Roles
|
||||||
customers: Customers
|
customers: Customers
|
||||||
|
customerCreate: New customer
|
||||||
|
createCustomer: Create customer
|
||||||
|
createOrder: New order
|
||||||
list: List
|
list: List
|
||||||
webPayments: Web Payments
|
webPayments: Web Payments
|
||||||
extendedList: Extended list
|
extendedList: Extended list
|
||||||
notifications: Notifications
|
notifications: Notifications
|
||||||
defaulter: Defaulter
|
defaulter: Defaulter
|
||||||
customerCreate: New customer
|
|
||||||
createOrder: New order
|
|
||||||
fiscalData: Fiscal data
|
fiscalData: Fiscal data
|
||||||
billingData: Billing data
|
billingData: Billing data
|
||||||
consignees: Consignees
|
consignees: Consignees
|
||||||
|
@ -195,27 +219,28 @@ globals:
|
||||||
claims: Claims
|
claims: Claims
|
||||||
claimCreate: New claim
|
claimCreate: New claim
|
||||||
lines: Lines
|
lines: Lines
|
||||||
photos: Photos
|
|
||||||
development: Development
|
development: Development
|
||||||
|
photos: Photos
|
||||||
action: Action
|
action: Action
|
||||||
invoiceOuts: Invoice out
|
invoiceOuts: Invoice out
|
||||||
negativeBases: Negative Bases
|
negativeBases: Negative Bases
|
||||||
globalInvoicing: Global invoicing
|
globalInvoicing: Global invoicing
|
||||||
invoiceOutCreate: Create invoice out
|
invoiceOutCreate: Create invoice out
|
||||||
|
order: Orders
|
||||||
|
orderList: List
|
||||||
|
orderCreate: New order
|
||||||
|
catalog: Catalog
|
||||||
|
volume: Volume
|
||||||
shelving: Shelving
|
shelving: Shelving
|
||||||
shelvingList: Shelving List
|
shelvingList: Shelving List
|
||||||
shelvingCreate: New shelving
|
shelvingCreate: New shelving
|
||||||
invoiceIns: Invoices In
|
invoiceIns: Invoices In
|
||||||
invoiceInCreate: Create invoice in
|
invoiceInCreate: Create invoice in
|
||||||
vat: VAT
|
vat: VAT
|
||||||
|
labeler: Labeler
|
||||||
dueDay: Due day
|
dueDay: Due day
|
||||||
intrastat: Intrastat
|
intrastat: Intrastat
|
||||||
corrective: Corrective
|
corrective: Corrective
|
||||||
order: Orders
|
|
||||||
orderList: List
|
|
||||||
orderCreate: New order
|
|
||||||
catalog: Catalog
|
|
||||||
volume: Volume
|
|
||||||
workers: Workers
|
workers: Workers
|
||||||
workerCreate: New worker
|
workerCreate: New worker
|
||||||
department: Department
|
department: Department
|
||||||
|
@ -228,10 +253,10 @@ globals:
|
||||||
wagonsList: Wagons List
|
wagonsList: Wagons List
|
||||||
wagonCreate: Create wagon
|
wagonCreate: Create wagon
|
||||||
wagonEdit: Edit wagon
|
wagonEdit: Edit wagon
|
||||||
|
wagonCounter: Trolley counter
|
||||||
typesList: Types List
|
typesList: Types List
|
||||||
typeCreate: Create type
|
typeCreate: Create type
|
||||||
typeEdit: Edit type
|
typeEdit: Edit type
|
||||||
wagonCounter: Trolley counter
|
|
||||||
roadmap: Roadmap
|
roadmap: Roadmap
|
||||||
stops: Stops
|
stops: Stops
|
||||||
routes: Routes
|
routes: Routes
|
||||||
|
@ -240,21 +265,16 @@ globals:
|
||||||
routeCreate: New route
|
routeCreate: New route
|
||||||
RouteRoadmap: Roadmaps
|
RouteRoadmap: Roadmaps
|
||||||
RouteRoadmapCreate: Create roadmap
|
RouteRoadmapCreate: Create roadmap
|
||||||
|
RouteExtendedList: Router
|
||||||
autonomous: Autonomous
|
autonomous: Autonomous
|
||||||
suppliers: Suppliers
|
suppliers: Suppliers
|
||||||
supplier: Supplier
|
supplier: Supplier
|
||||||
expedition: Expedition
|
|
||||||
services: Service
|
|
||||||
components: Components
|
|
||||||
pictures: Pictures
|
|
||||||
packages: Packages
|
|
||||||
tracking: Tracking
|
|
||||||
labeler: Labeler
|
|
||||||
supplierCreate: New supplier
|
supplierCreate: New supplier
|
||||||
accounts: Accounts
|
accounts: Accounts
|
||||||
addresses: Addresses
|
addresses: Addresses
|
||||||
agencyTerm: Agency agreement
|
agencyTerm: Agency agreement
|
||||||
travel: Travels
|
travel: Travels
|
||||||
|
create: Create
|
||||||
extraCommunity: Extra community
|
extraCommunity: Extra community
|
||||||
travelCreate: New travel
|
travelCreate: New travel
|
||||||
history: Log
|
history: Log
|
||||||
|
@ -262,14 +282,13 @@ globals:
|
||||||
items: Items
|
items: Items
|
||||||
diary: Diary
|
diary: Diary
|
||||||
tags: Tags
|
tags: Tags
|
||||||
create: Create
|
|
||||||
buyRequest: Buy requests
|
|
||||||
fixedPrice: Fixed prices
|
fixedPrice: Fixed prices
|
||||||
|
buyRequest: Buy requests
|
||||||
wasteBreakdown: Waste breakdown
|
wasteBreakdown: Waste breakdown
|
||||||
itemCreate: New item
|
itemCreate: New item
|
||||||
barcode: Barcodes
|
|
||||||
tax: Tax
|
tax: Tax
|
||||||
botanical: Botanical
|
botanical: Botanical
|
||||||
|
barcode: Barcodes
|
||||||
itemTypeCreate: New item type
|
itemTypeCreate: New item type
|
||||||
family: Item Type
|
family: Item Type
|
||||||
lastEntries: Last entries
|
lastEntries: Last entries
|
||||||
|
@ -285,13 +304,20 @@ globals:
|
||||||
formation: Formation
|
formation: Formation
|
||||||
locations: Locations
|
locations: Locations
|
||||||
warehouses: Warehouses
|
warehouses: Warehouses
|
||||||
saleTracking: Sale tracking
|
|
||||||
roles: Roles
|
roles: Roles
|
||||||
connections: Connections
|
connections: Connections
|
||||||
acls: ACLs
|
acls: ACLs
|
||||||
mailForwarding: Mail forwarding
|
mailForwarding: Mail forwarding
|
||||||
mailAlias: Mail alias
|
mailAlias: Mail alias
|
||||||
privileges: Privileges
|
privileges: Privileges
|
||||||
|
observation: Notes
|
||||||
|
expedition: Expedition
|
||||||
|
saleTracking: Sale tracking
|
||||||
|
services: Service
|
||||||
|
tracking: Tracking
|
||||||
|
components: Components
|
||||||
|
pictures: Pictures
|
||||||
|
packages: Packages
|
||||||
ldap: LDAP
|
ldap: LDAP
|
||||||
samba: Samba
|
samba: Samba
|
||||||
twoFactor: Two factor
|
twoFactor: Two factor
|
||||||
|
@ -302,29 +328,14 @@ globals:
|
||||||
serial: Serial
|
serial: Serial
|
||||||
medical: Mutual
|
medical: Mutual
|
||||||
pit: IRPF
|
pit: IRPF
|
||||||
RouteExtendedList: Router
|
|
||||||
wasteRecalc: Waste recaclulate
|
wasteRecalc: Waste recaclulate
|
||||||
operator: Operator
|
operator: Operator
|
||||||
parking: Parking
|
parking: Parking
|
||||||
vehicleList: Vehicles
|
vehicleList: Vehicles
|
||||||
vehicle: Vehicle
|
vehicle: Vehicle
|
||||||
supplier: Supplier
|
|
||||||
created: Created
|
|
||||||
worker: Worker
|
|
||||||
now: Now
|
|
||||||
name: Name
|
|
||||||
new: New
|
|
||||||
comment: Comment
|
|
||||||
observations: Observations
|
|
||||||
goToModuleIndex: Go to module index
|
|
||||||
unsavedPopup:
|
unsavedPopup:
|
||||||
title: Unsaved changes will be lost
|
title: Unsaved changes will be lost
|
||||||
subtitle: Are you sure exit without saving?
|
subtitle: Are you sure exit without saving?
|
||||||
createInvoiceIn: Create invoice in
|
|
||||||
myAccount: My account
|
|
||||||
noOne: No one
|
|
||||||
maxTemperature: Max
|
|
||||||
minTemperature: Min
|
|
||||||
params:
|
params:
|
||||||
description: Description
|
description: Description
|
||||||
clientFk: Client id
|
clientFk: Client id
|
||||||
|
@ -343,7 +354,7 @@ globals:
|
||||||
supplierFk: Supplier
|
supplierFk: Supplier
|
||||||
supplierRef: Supplier ref
|
supplierRef: Supplier ref
|
||||||
serial: Serial
|
serial: Serial
|
||||||
amount: Importe
|
amount: Amount
|
||||||
awbCode: AWB
|
awbCode: AWB
|
||||||
correctedFk: Rectified
|
correctedFk: Rectified
|
||||||
correctingFk: Rectificative
|
correctingFk: Rectificative
|
||||||
|
@ -351,12 +362,6 @@ globals:
|
||||||
countryFk: Country
|
countryFk: Country
|
||||||
countryCodeFk: Country
|
countryCodeFk: Country
|
||||||
companyFk: Company
|
companyFk: Company
|
||||||
changePass: Change password
|
|
||||||
setPass: Set password
|
|
||||||
deleteConfirmTitle: Delete selected elements
|
|
||||||
changeState: Change state
|
|
||||||
raid: 'Raid {daysInForward} days'
|
|
||||||
isVies: Vies
|
|
||||||
model: Model
|
model: Model
|
||||||
fuel: Fuel
|
fuel: Fuel
|
||||||
active: Active
|
active: Active
|
||||||
|
@ -501,21 +506,6 @@ invoiceOut:
|
||||||
comercial: Comercial
|
comercial: Comercial
|
||||||
errors:
|
errors:
|
||||||
downloadCsvFailed: CSV download failed
|
downloadCsvFailed: CSV download failed
|
||||||
shelving:
|
|
||||||
list:
|
|
||||||
parking: Parking
|
|
||||||
priority: Priority
|
|
||||||
newShelving: New Shelving
|
|
||||||
summary:
|
|
||||||
recyclable: Recyclable
|
|
||||||
parking:
|
|
||||||
pickingOrder: Picking order
|
|
||||||
sector: Sector
|
|
||||||
row: Row
|
|
||||||
column: Column
|
|
||||||
searchBar:
|
|
||||||
info: You can search by parking code
|
|
||||||
label: Search parking...
|
|
||||||
department:
|
department:
|
||||||
chat: Chat
|
chat: Chat
|
||||||
bossDepartment: Boss Department
|
bossDepartment: Boss Department
|
||||||
|
@ -707,6 +697,9 @@ supplier:
|
||||||
consumption:
|
consumption:
|
||||||
entry: Entry
|
entry: Entry
|
||||||
travel:
|
travel:
|
||||||
|
search: Search travel
|
||||||
|
searchInfo: You can search by travel id or name
|
||||||
|
id: Id
|
||||||
travelList:
|
travelList:
|
||||||
tableVisibleColumns:
|
tableVisibleColumns:
|
||||||
ref: Reference
|
ref: Reference
|
||||||
|
|
|
@ -55,11 +55,12 @@ globals:
|
||||||
today: Hoy
|
today: Hoy
|
||||||
yesterday: Ayer
|
yesterday: Ayer
|
||||||
dateFormat: es-ES
|
dateFormat: es-ES
|
||||||
noSelectedRows: No tienes ninguna línea seleccionada
|
|
||||||
microsip: Abrir en MicroSIP
|
microsip: Abrir en MicroSIP
|
||||||
|
noSelectedRows: No tienes ninguna línea seleccionada
|
||||||
downloadCSVSuccess: Descarga de CSV exitosa
|
downloadCSVSuccess: Descarga de CSV exitosa
|
||||||
reference: Referencia
|
reference: Referencia
|
||||||
agency: Agencia
|
agency: Agencia
|
||||||
|
entry: Entrada
|
||||||
warehouseOut: Alm. salida
|
warehouseOut: Alm. salida
|
||||||
warehouseIn: Alm. entrada
|
warehouseIn: Alm. entrada
|
||||||
landed: F. entrega
|
landed: F. entrega
|
||||||
|
@ -134,6 +135,26 @@ globals:
|
||||||
medium: Mediano/a
|
medium: Mediano/a
|
||||||
big: Grande
|
big: Grande
|
||||||
email: Correo
|
email: Correo
|
||||||
|
supplier: Proveedor
|
||||||
|
ticketList: Listado de tickets
|
||||||
|
created: Fecha creación
|
||||||
|
worker: Trabajador
|
||||||
|
now: Ahora
|
||||||
|
name: Nombre
|
||||||
|
new: Nuevo
|
||||||
|
comment: Comentario
|
||||||
|
observations: Observaciones
|
||||||
|
goToModuleIndex: Ir al índice del módulo
|
||||||
|
createInvoiceIn: Crear factura recibida
|
||||||
|
myAccount: Mi cuenta
|
||||||
|
noOne: Nadie
|
||||||
|
maxTemperature: Máx
|
||||||
|
minTemperature: Mín
|
||||||
|
changePass: Cambiar contraseña
|
||||||
|
deleteConfirmTitle: Eliminar los elementos seleccionados
|
||||||
|
changeState: Cambiar estado
|
||||||
|
raid: 'Redada {daysInForward} días'
|
||||||
|
isVies: Vies
|
||||||
pageTitles:
|
pageTitles:
|
||||||
logIn: Inicio de sesión
|
logIn: Inicio de sesión
|
||||||
addressEdit: Modificar consignatario
|
addressEdit: Modificar consignatario
|
||||||
|
@ -156,17 +177,17 @@ globals:
|
||||||
inheritedRoles: Roles heredados
|
inheritedRoles: Roles heredados
|
||||||
customers: Clientes
|
customers: Clientes
|
||||||
customerCreate: Nuevo cliente
|
customerCreate: Nuevo cliente
|
||||||
|
createCustomer: Crear cliente
|
||||||
createOrder: Nuevo pedido
|
createOrder: Nuevo pedido
|
||||||
list: Listado
|
list: Listado
|
||||||
webPayments: Pagos Web
|
webPayments: Pagos Web
|
||||||
extendedList: Listado extendido
|
extendedList: Listado extendido
|
||||||
notifications: Notificaciones
|
notifications: Notificaciones
|
||||||
defaulter: Morosos
|
defaulter: Morosos
|
||||||
createCustomer: Crear cliente
|
|
||||||
fiscalData: Datos fiscales
|
fiscalData: Datos fiscales
|
||||||
billingData: Forma de pago
|
billingData: Forma de pago
|
||||||
consignees: Consignatarios
|
consignees: Consignatarios
|
||||||
'address-create': Nuevo consignatario
|
address-create: Nuevo consignatario
|
||||||
notes: Notas
|
notes: Notas
|
||||||
credits: Créditos
|
credits: Créditos
|
||||||
greuges: Greuges
|
greuges: Greuges
|
||||||
|
@ -232,10 +253,10 @@ globals:
|
||||||
wagonsList: Listado vagones
|
wagonsList: Listado vagones
|
||||||
wagonCreate: Crear tipo
|
wagonCreate: Crear tipo
|
||||||
wagonEdit: Editar tipo
|
wagonEdit: Editar tipo
|
||||||
|
wagonCounter: Contador de carros
|
||||||
typesList: Listado tipos
|
typesList: Listado tipos
|
||||||
typeCreate: Crear tipo
|
typeCreate: Crear tipo
|
||||||
typeEdit: Editar tipo
|
typeEdit: Editar tipo
|
||||||
wagonCounter: Contador de carros
|
|
||||||
roadmap: Troncales
|
roadmap: Troncales
|
||||||
stops: Paradas
|
stops: Paradas
|
||||||
routes: Rutas
|
routes: Rutas
|
||||||
|
@ -244,8 +265,8 @@ globals:
|
||||||
routeCreate: Nueva ruta
|
routeCreate: Nueva ruta
|
||||||
RouteRoadmap: Troncales
|
RouteRoadmap: Troncales
|
||||||
RouteRoadmapCreate: Crear troncal
|
RouteRoadmapCreate: Crear troncal
|
||||||
autonomous: Autónomos
|
|
||||||
RouteExtendedList: Enrutador
|
RouteExtendedList: Enrutador
|
||||||
|
autonomous: Autónomos
|
||||||
suppliers: Proveedores
|
suppliers: Proveedores
|
||||||
supplier: Proveedor
|
supplier: Proveedor
|
||||||
supplierCreate: Nuevo proveedor
|
supplierCreate: Nuevo proveedor
|
||||||
|
@ -312,23 +333,9 @@ globals:
|
||||||
parking: Parking
|
parking: Parking
|
||||||
vehicleList: Vehículos
|
vehicleList: Vehículos
|
||||||
vehicle: Vehículo
|
vehicle: Vehículo
|
||||||
supplier: Proveedor
|
|
||||||
created: Fecha creación
|
|
||||||
worker: Trabajador
|
|
||||||
now: Ahora
|
|
||||||
name: Nombre
|
|
||||||
new: Nuevo
|
|
||||||
comment: Comentario
|
|
||||||
observations: Observaciones
|
|
||||||
goToModuleIndex: Ir al índice del módulo
|
|
||||||
unsavedPopup:
|
unsavedPopup:
|
||||||
title: Los cambios que no haya guardado se perderán
|
title: Los cambios que no haya guardado se perderán
|
||||||
subtitle: ¿Seguro que quiere salir sin guardar?
|
subtitle: ¿Seguro que quiere salir sin guardar?
|
||||||
createInvoiceIn: Crear factura recibida
|
|
||||||
myAccount: Mi cuenta
|
|
||||||
noOne: Nadie
|
|
||||||
maxTemperature: Máx
|
|
||||||
minTemperature: Mín
|
|
||||||
params:
|
params:
|
||||||
description: Descripción
|
description: Descripción
|
||||||
clientFk: Id cliente
|
clientFk: Id cliente
|
||||||
|
@ -353,17 +360,6 @@ globals:
|
||||||
countryFk: País
|
countryFk: País
|
||||||
countryCodeFk: País
|
countryCodeFk: País
|
||||||
companyFk: Empresa
|
companyFk: Empresa
|
||||||
changePass: Cambiar contraseña
|
|
||||||
setPass: Establecer contraseña
|
|
||||||
deleteConfirmTitle: Eliminar los elementos seleccionados
|
|
||||||
changeState: Cambiar estado
|
|
||||||
raid: 'Redada {daysInForward} días'
|
|
||||||
isVies: Vies
|
|
||||||
model: Modelo
|
|
||||||
fuel: Combustible
|
|
||||||
active: Activo
|
|
||||||
inactive: Inactivo
|
|
||||||
deliveryPoint: Punto de entrega
|
|
||||||
errors:
|
errors:
|
||||||
statusUnauthorized: Acceso denegado
|
statusUnauthorized: Acceso denegado
|
||||||
statusInternalServerError: Ha ocurrido un error interno del servidor
|
statusInternalServerError: Ha ocurrido un error interno del servidor
|
||||||
|
@ -458,11 +454,15 @@ ticket:
|
||||||
attender: Consignatario
|
attender: Consignatario
|
||||||
create:
|
create:
|
||||||
address: Dirección
|
address: Dirección
|
||||||
invoiceOut:
|
order:
|
||||||
card:
|
field:
|
||||||
issued: Fecha emisión
|
salesPersonFk: Comercial
|
||||||
customerCard: Ficha del cliente
|
form:
|
||||||
ticketList: Listado de tickets
|
clientFk: Cliente
|
||||||
|
addressFk: Dirección
|
||||||
|
agencyModeFk: Agencia
|
||||||
|
list:
|
||||||
|
newOrder: Nuevo Pedido
|
||||||
summary:
|
summary:
|
||||||
issued: Fecha
|
issued: Fecha
|
||||||
dued: Fecha límite
|
dued: Fecha límite
|
||||||
|
@ -473,47 +473,6 @@ invoiceOut:
|
||||||
fee: Cuota
|
fee: Cuota
|
||||||
tickets: Tickets
|
tickets: Tickets
|
||||||
totalWithVat: Importe
|
totalWithVat: Importe
|
||||||
globalInvoices:
|
|
||||||
errors:
|
|
||||||
chooseValidClient: Selecciona un cliente válido
|
|
||||||
chooseValidCompany: Selecciona una empresa válida
|
|
||||||
chooseValidPrinter: Selecciona una impresora válida
|
|
||||||
chooseValidSerialType: Selecciona una tipo de serie válida
|
|
||||||
fillDates: La fecha de la factura y la fecha máxima deben estar completas
|
|
||||||
invoiceDateLessThanMaxDate: La fecha de la factura no puede ser menor que la fecha máxima
|
|
||||||
invoiceWithFutureDate: Existe una factura con una fecha futura
|
|
||||||
noTicketsToInvoice: No existen tickets para facturar
|
|
||||||
criticalInvoiceError: Error crítico en la facturación proceso detenido
|
|
||||||
invalidSerialTypeForAll: El tipo de serie debe ser global cuando se facturan todos los clientes
|
|
||||||
table:
|
|
||||||
addressId: Id dirección
|
|
||||||
streetAddress: Dirección fiscal
|
|
||||||
statusCard:
|
|
||||||
percentageText: '{getPercentage}% {getAddressNumber} de {getNAddresses}'
|
|
||||||
pdfsNumberText: '{nPdfs} de {totalPdfs} PDFs'
|
|
||||||
negativeBases:
|
|
||||||
clientId: Id cliente
|
|
||||||
base: Base
|
|
||||||
active: Activo
|
|
||||||
hasToInvoice: Facturar
|
|
||||||
verifiedData: Datos comprobados
|
|
||||||
comercial: Comercial
|
|
||||||
errors:
|
|
||||||
downloadCsvFailed: Error al descargar CSV
|
|
||||||
shelving:
|
|
||||||
list:
|
|
||||||
parking: Parking
|
|
||||||
priority: Prioridad
|
|
||||||
newShelving: Nuevo Carro
|
|
||||||
summary:
|
|
||||||
recyclable: Reciclable
|
|
||||||
parking:
|
|
||||||
pickingOrder: Orden de recogida
|
|
||||||
row: Fila
|
|
||||||
column: Columna
|
|
||||||
searchBar:
|
|
||||||
info: Puedes buscar por código de parking
|
|
||||||
label: Buscar parking...
|
|
||||||
department:
|
department:
|
||||||
chat: Chat
|
chat: Chat
|
||||||
bossDepartment: Jefe de departamento
|
bossDepartment: Jefe de departamento
|
||||||
|
@ -703,6 +662,9 @@ supplier:
|
||||||
consumption:
|
consumption:
|
||||||
entry: Entrada
|
entry: Entrada
|
||||||
travel:
|
travel:
|
||||||
|
search: Buscar envío
|
||||||
|
searchInfo: Buscar envío por id o nombre
|
||||||
|
id: Id
|
||||||
travelList:
|
travelList:
|
||||||
tableVisibleColumns:
|
tableVisibleColumns:
|
||||||
ref: Referencia
|
ref: Referencia
|
||||||
|
|
|
@ -50,7 +50,8 @@ const filterClientFindOne = {
|
||||||
>
|
>
|
||||||
<template #form="{ data }">
|
<template #form="{ data }">
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<QCheckbox :label="t('Unpaid client')" v-model="data.unpaid" />
|
<QCheckbox :label="t('Unpaid client')" v-model="data.unpaid"
|
||||||
|
data-cy="UnpaidCheckBox" />
|
||||||
</VnRow>
|
</VnRow>
|
||||||
|
|
||||||
<VnRow class="row q-gutter-md q-mb-md" v-show="data.unpaid">
|
<VnRow class="row q-gutter-md q-mb-md" v-show="data.unpaid">
|
||||||
|
|
|
@ -1,19 +1,11 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import InvoiceOutDescriptor from './InvoiceOutDescriptor.vue';
|
import InvoiceOutDescriptor from './InvoiceOutDescriptor.vue';
|
||||||
import VnCard from 'components/common/VnCard.vue';
|
import VnCardBeta from 'components/common/VnCardBeta.vue';
|
||||||
import InvoiceOutFilter from '../InvoiceOutFilter.vue';
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<VnCard
|
<VnCardBeta
|
||||||
data-key="InvoiceOut"
|
data-key="InvoiceOut"
|
||||||
base-url="InvoiceOuts"
|
base-url="InvoiceOuts"
|
||||||
:descriptor="InvoiceOutDescriptor"
|
:descriptor="InvoiceOutDescriptor"
|
||||||
:filter-panel="InvoiceOutFilter"
|
|
||||||
search-data-key="InvoiceOutList"
|
|
||||||
:searchbar-props="{
|
|
||||||
url: 'InvoiceOuts/filter',
|
|
||||||
label: 'Search invoice',
|
|
||||||
info: 'You can search by invoice reference',
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -3,7 +3,6 @@ import { ref, computed, watchEffect } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import VnSelect from 'src/components/common/VnSelect.vue';
|
import VnSelect from 'src/components/common/VnSelect.vue';
|
||||||
import VnInputDate from 'src/components/common/VnInputDate.vue';
|
import VnInputDate from 'src/components/common/VnInputDate.vue';
|
||||||
import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
|
|
||||||
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
|
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
|
||||||
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
||||||
import { usePrintService } from 'src/composables/usePrintService';
|
import { usePrintService } from 'src/composables/usePrintService';
|
||||||
|
@ -12,12 +11,12 @@ import InvoiceOutSummary from './Card/InvoiceOutSummary.vue';
|
||||||
import { toCurrency, toDate } from 'src/filters/index';
|
import { toCurrency, toDate } from 'src/filters/index';
|
||||||
import { QBtn } from 'quasar';
|
import { QBtn } from 'quasar';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import RightMenu from 'src/components/common/RightMenu.vue';
|
|
||||||
import InvoiceOutFilter from './InvoiceOutFilter.vue';
|
import InvoiceOutFilter from './InvoiceOutFilter.vue';
|
||||||
import VnRow from 'src/components/ui/VnRow.vue';
|
import VnRow from 'src/components/ui/VnRow.vue';
|
||||||
import VnRadio from 'src/components/common/VnRadio.vue';
|
import VnRadio from 'src/components/common/VnRadio.vue';
|
||||||
import VnInput from 'src/components/common/VnInput.vue';
|
import VnInput from 'src/components/common/VnInput.vue';
|
||||||
import CustomerDescriptorProxy from '../Customer/Card/CustomerDescriptorProxy.vue';
|
import CustomerDescriptorProxy from '../Customer/Card/CustomerDescriptorProxy.vue';
|
||||||
|
import VnSection from 'src/components/common/VnSection.vue';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const { viewSummary } = useSummaryDialog();
|
const { viewSummary } = useSummaryDialog();
|
||||||
|
@ -30,9 +29,11 @@ const MODEL = 'InvoiceOuts';
|
||||||
const { openReport } = usePrintService();
|
const { openReport } = usePrintService();
|
||||||
const addressOptions = ref([]);
|
const addressOptions = ref([]);
|
||||||
const selectedOption = ref('ticket');
|
const selectedOption = ref('ticket');
|
||||||
|
const dataKey = 'InvoiceOutList';
|
||||||
|
|
||||||
async function fetchClientAddress(id) {
|
async function fetchClientAddress(id) {
|
||||||
const { data } = await axios.get(
|
const { data } = await axios.get(
|
||||||
`Clients/${id}/addresses?filter[order]=isActive DESC`
|
`Clients/${id}/addresses?filter[order]=isActive DESC`,
|
||||||
);
|
);
|
||||||
addressOptions.value = data;
|
addressOptions.value = data;
|
||||||
}
|
}
|
||||||
|
@ -180,16 +181,19 @@ watchEffect(selectedRows);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VnSearchbar
|
<VnSection
|
||||||
:info="t('youCanSearchByInvoiceReference')"
|
:data-key="dataKey"
|
||||||
:label="t('Search invoice')"
|
:columns="columns"
|
||||||
data-key="invoiceOutList"
|
prefix="invoiceOut"
|
||||||
/>
|
:array-data-props="{
|
||||||
<RightMenu>
|
url: 'InvoiceOuts/filter',
|
||||||
<template #right-panel>
|
order: ['id DESC'],
|
||||||
<InvoiceOutFilter data-key="invoiceOutList" />
|
}"
|
||||||
|
>
|
||||||
|
<template #advanced-menu>
|
||||||
|
<InvoiceOutFilter data-key="InvoiceOutList" />
|
||||||
</template>
|
</template>
|
||||||
</RightMenu>
|
<template #body>
|
||||||
<VnSubToolbar>
|
<VnSubToolbar>
|
||||||
<template #st-actions>
|
<template #st-actions>
|
||||||
<QBtn
|
<QBtn
|
||||||
|
@ -199,14 +203,13 @@ watchEffect(selectedRows);
|
||||||
:disable="!hasSelectedCards"
|
:disable="!hasSelectedCards"
|
||||||
data-cy="InvoiceOutDownloadPdfBtn"
|
data-cy="InvoiceOutDownloadPdfBtn"
|
||||||
>
|
>
|
||||||
<QTooltip>{{ t('downloadPdf') }}</QTooltip>
|
<QTooltip>{{ t('globals.downloadPdf') }}</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
</template>
|
</template>
|
||||||
</VnSubToolbar>
|
</VnSubToolbar>
|
||||||
<VnTable
|
<VnTable
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
data-key="invoiceOutList"
|
:data-key="dataKey"
|
||||||
:url="`${MODEL}/filter`"
|
|
||||||
:create="{
|
:create="{
|
||||||
urlCreate: 'InvoiceOuts/createManualInvoice',
|
urlCreate: 'InvoiceOuts/createManualInvoice',
|
||||||
title: t('createManualInvoice'),
|
title: t('createManualInvoice'),
|
||||||
|
@ -215,7 +218,6 @@ watchEffect(selectedRows);
|
||||||
}"
|
}"
|
||||||
:right-search="false"
|
:right-search="false"
|
||||||
v-model:selected="selectedRows"
|
v-model:selected="selectedRows"
|
||||||
order="id DESC"
|
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
redirect="invoice-out"
|
redirect="invoice-out"
|
||||||
:table="{
|
:table="{
|
||||||
|
@ -293,13 +295,17 @@ watchEffect(selectedRows);
|
||||||
<QItemLabel
|
<QItemLabel
|
||||||
:class="{
|
:class="{
|
||||||
'color-vn-label':
|
'color-vn-label':
|
||||||
!scope.opt?.isActive,
|
!scope.opt
|
||||||
|
?.isActive,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
`${
|
`${
|
||||||
!scope.opt?.isActive
|
!scope.opt
|
||||||
? t('inactive')
|
?.isActive
|
||||||
|
? t(
|
||||||
|
'inactive',
|
||||||
|
)
|
||||||
: ''
|
: ''
|
||||||
} `
|
} `
|
||||||
}}
|
}}
|
||||||
|
@ -308,19 +314,26 @@ watchEffect(selectedRows);
|
||||||
}}</span>
|
}}</span>
|
||||||
<span
|
<span
|
||||||
v-if="
|
v-if="
|
||||||
scope.opt?.province ||
|
scope.opt
|
||||||
|
?.province ||
|
||||||
scope.opt?.city ||
|
scope.opt?.city ||
|
||||||
scope.opt?.street
|
scope.opt?.street
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
, {{ scope.opt?.street }},
|
,
|
||||||
|
{{
|
||||||
|
scope.opt?.street
|
||||||
|
}},
|
||||||
{{ scope.opt?.city }},
|
{{ scope.opt?.city }},
|
||||||
{{
|
{{
|
||||||
scope.opt?.province?.name
|
scope.opt
|
||||||
|
?.province
|
||||||
|
?.name
|
||||||
}}
|
}}
|
||||||
-
|
-
|
||||||
{{
|
{{
|
||||||
scope.opt?.agencyMode
|
scope.opt
|
||||||
|
?.agencyMode
|
||||||
?.name
|
?.name
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
|
@ -383,7 +396,9 @@ watchEffect(selectedRows);
|
||||||
<VnSelect
|
<VnSelect
|
||||||
url="TaxAreas"
|
url="TaxAreas"
|
||||||
v-model="data.taxArea"
|
v-model="data.taxArea"
|
||||||
:label="t('invoiceOutList.tableVisibleColumns.taxArea')"
|
:label="
|
||||||
|
t('invoiceOutList.tableVisibleColumns.taxArea')
|
||||||
|
"
|
||||||
:options="taxAreasOptions"
|
:options="taxAreasOptions"
|
||||||
option-label="code"
|
option-label="code"
|
||||||
option-value="code"
|
option-value="code"
|
||||||
|
@ -398,6 +413,8 @@ watchEffect(selectedRows);
|
||||||
</template>
|
</template>
|
||||||
</VnTable>
|
</VnTable>
|
||||||
</template>
|
</template>
|
||||||
|
</VnSection>
|
||||||
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
#formModel .vn-row {
|
#formModel .vn-row {
|
||||||
|
|
|
@ -39,7 +39,7 @@ const columns = computed(() => [
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'country',
|
name: 'country',
|
||||||
label: t('negativeBases.country'),
|
label: t('invoiceOut.negativeBases.country'),
|
||||||
component: 'select',
|
component: 'select',
|
||||||
attrs: {
|
attrs: {
|
||||||
url: 'Countries',
|
url: 'Countries',
|
||||||
|
@ -53,7 +53,7 @@ const columns = computed(() => [
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'clientId',
|
name: 'clientId',
|
||||||
label: t('negativeBases.clientId'),
|
label: t('invoiceOut.negativeBases.clientId'),
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -85,28 +85,28 @@ const columns = computed(() => [
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'taxableBase',
|
name: 'taxableBase',
|
||||||
label: t('negativeBases.base'),
|
label: t('invoiceOut.negativeBases.base'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'ticketFk',
|
name: 'ticketFk',
|
||||||
label: t('negativeBases.ticketId'),
|
label: t('invoiceOut.negativeBases.ticketId'),
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'isActive',
|
name: 'isActive',
|
||||||
label: t('negativeBases.active'),
|
label: t('invoiceOut.negativeBases.active'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'hasToInvoice',
|
name: 'hasToInvoice',
|
||||||
label: t('negativeBases.hasToInvoice'),
|
label: t('invoiceOut.negativeBases.hasToInvoice'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'hasVerifiedData',
|
name: 'hasVerifiedData',
|
||||||
label: t('negativeBases.verifiedData'),
|
label: t('invoiceOut.negativeBases.verifiedData'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|
|
@ -105,28 +105,3 @@ const props = defineProps({
|
||||||
</template>
|
</template>
|
||||||
</VnFilterPanel>
|
</VnFilterPanel>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<i18n>
|
|
||||||
en:
|
|
||||||
params:
|
|
||||||
from: From
|
|
||||||
to: To
|
|
||||||
company: Company
|
|
||||||
country: Country
|
|
||||||
clientId: Client Id
|
|
||||||
clientSocialName: Client
|
|
||||||
amount: Amount
|
|
||||||
comercialName: Comercial
|
|
||||||
es:
|
|
||||||
params:
|
|
||||||
from: Desde
|
|
||||||
to: Hasta
|
|
||||||
company: Empresa
|
|
||||||
country: País
|
|
||||||
clientId: Id cliente
|
|
||||||
clientSocialName: Cliente
|
|
||||||
amount: Importe
|
|
||||||
comercialName: Comercial
|
|
||||||
Date is required: La fecha es requerida
|
|
||||||
|
|
||||||
</i18n>
|
|
||||||
|
|
|
@ -1,3 +1,60 @@
|
||||||
|
invoiceOut:
|
||||||
|
search: Search invoice
|
||||||
|
searchInfo: You can search by invoice reference
|
||||||
|
params:
|
||||||
|
company: Company
|
||||||
|
country: Country
|
||||||
|
clientId: Client ID
|
||||||
|
clientSocialName: Client
|
||||||
|
taxableBase: Base
|
||||||
|
ticketFk: Ticket
|
||||||
|
isActive: Active
|
||||||
|
hasToInvoice: Has to invoice
|
||||||
|
hasVerifiedData: Verified data
|
||||||
|
workerName: Worker
|
||||||
|
card:
|
||||||
|
issued: Issued
|
||||||
|
customerCard: Customer card
|
||||||
|
ticketList: Ticket List
|
||||||
|
summary:
|
||||||
|
issued: Issued
|
||||||
|
dued: Due
|
||||||
|
booked: Booked
|
||||||
|
taxBreakdown: Tax breakdown
|
||||||
|
taxableBase: Taxable base
|
||||||
|
rate: Rate
|
||||||
|
fee: Fee
|
||||||
|
tickets: Tickets
|
||||||
|
totalWithVat: Amount
|
||||||
|
globalInvoices:
|
||||||
|
errors:
|
||||||
|
chooseValidClient: Choose a valid client
|
||||||
|
chooseValidCompany: Choose a valid company
|
||||||
|
chooseValidPrinter: Choose a valid printer
|
||||||
|
chooseValidSerialType: Choose a serial type
|
||||||
|
fillDates: Invoice date and the max date should be filled
|
||||||
|
invoiceDateLessThanMaxDate: Invoice date can not be less than max date
|
||||||
|
invoiceWithFutureDate: Exists an invoice with a future date
|
||||||
|
noTicketsToInvoice: There are not tickets to invoice
|
||||||
|
criticalInvoiceError: 'Critical invoicing error, process stopped'
|
||||||
|
invalidSerialTypeForAll: The serial type must be global when invoicing all clients
|
||||||
|
table:
|
||||||
|
addressId: Address id
|
||||||
|
streetAddress: Street
|
||||||
|
statusCard:
|
||||||
|
percentageText: '{getPercentage}% {getAddressNumber} of {getNAddresses}'
|
||||||
|
pdfsNumberText: '{nPdfs} of {totalPdfs} PDFs'
|
||||||
|
negativeBases:
|
||||||
|
country: Country
|
||||||
|
clientId: Client Id
|
||||||
|
base: Base
|
||||||
|
ticketId: Ticket
|
||||||
|
active: Active
|
||||||
|
hasToInvoice: Has to Invoice
|
||||||
|
verifiedData: Verified Data
|
||||||
|
comercial: Commercial
|
||||||
|
errors:
|
||||||
|
downloadCsvFailed: CSV download failed
|
||||||
invoiceOutModule:
|
invoiceOutModule:
|
||||||
customer: Client
|
customer: Client
|
||||||
amount: Amount
|
amount: Amount
|
||||||
|
@ -14,26 +71,3 @@ invoiceOutList:
|
||||||
ticket: Ticket
|
ticket: Ticket
|
||||||
taxArea: Tax area
|
taxArea: Tax area
|
||||||
customsAgent: Custom Agent
|
customsAgent: Custom Agent
|
||||||
DownloadPdf: Download PDF
|
|
||||||
InvoiceOutSummary: Summary
|
|
||||||
negativeBases:
|
|
||||||
country: Country
|
|
||||||
clientId: Client ID
|
|
||||||
base: Base
|
|
||||||
ticketId: Ticket
|
|
||||||
active: Active
|
|
||||||
hasToInvoice: Has to invoice
|
|
||||||
verifiedData: Verified data
|
|
||||||
commercial: Commercial
|
|
||||||
invoiceout:
|
|
||||||
params:
|
|
||||||
company: Company
|
|
||||||
country: Country
|
|
||||||
clientId: Client ID
|
|
||||||
clientSocialName: Client
|
|
||||||
taxableBase: Base
|
|
||||||
ticketFk: Ticket
|
|
||||||
isActive: Active
|
|
||||||
hasToInvoice: Has to invoice
|
|
||||||
hasVerifiedData: Verified data
|
|
||||||
workerName: Worker
|
|
|
@ -1,5 +1,60 @@
|
||||||
Search invoice: Buscar factura emitida
|
invoiceOut:
|
||||||
You can search by invoice reference: Puedes buscar por referencia de la factura
|
search: Buscar factura emitida
|
||||||
|
searchInfo: Puedes buscar por referencia de la factura
|
||||||
|
params:
|
||||||
|
company: Empresa
|
||||||
|
country: País
|
||||||
|
clientId: ID del cliente
|
||||||
|
clientSocialName: Cliente
|
||||||
|
taxableBase: Base
|
||||||
|
ticketFk: Ticket
|
||||||
|
isActive: Activo
|
||||||
|
hasToInvoice: Debe facturar
|
||||||
|
hasVerifiedData: Datos verificados
|
||||||
|
workerName: Comercial
|
||||||
|
card:
|
||||||
|
issued: Fecha emisión
|
||||||
|
customerCard: Ficha del cliente
|
||||||
|
ticketList: Listado de tickets
|
||||||
|
summary:
|
||||||
|
issued: Fecha
|
||||||
|
dued: Fecha límite
|
||||||
|
booked: Contabilizada
|
||||||
|
taxBreakdown: Desglose impositivo
|
||||||
|
taxableBase: Base imp.
|
||||||
|
rate: Tarifa
|
||||||
|
fee: Cuota
|
||||||
|
tickets: Tickets
|
||||||
|
totalWithVat: Importe
|
||||||
|
globalInvoices:
|
||||||
|
errors:
|
||||||
|
chooseValidClient: Selecciona un cliente válido
|
||||||
|
chooseValidCompany: Selecciona una empresa válida
|
||||||
|
chooseValidPrinter: Selecciona una impresora válida
|
||||||
|
chooseValidSerialType: Selecciona una tipo de serie válida
|
||||||
|
fillDates: La fecha de la factura y la fecha máxima deben estar completas
|
||||||
|
invoiceDateLessThanMaxDate: La fecha de la factura no puede ser menor que la fecha máxima
|
||||||
|
invoiceWithFutureDate: Existe una factura con una fecha futura
|
||||||
|
noTicketsToInvoice: No existen tickets para facturar
|
||||||
|
criticalInvoiceError: Error crítico en la facturación proceso detenido
|
||||||
|
invalidSerialTypeForAll: El tipo de serie debe ser global cuando se facturan todos los clientes
|
||||||
|
table:
|
||||||
|
addressId: Id dirección
|
||||||
|
streetAddress: Dirección fiscal
|
||||||
|
statusCard:
|
||||||
|
percentageText: '{getPercentage}% {getAddressNumber} de {getNAddresses}'
|
||||||
|
pdfsNumberText: '{nPdfs} de {totalPdfs} PDFs'
|
||||||
|
negativeBases:
|
||||||
|
country: País
|
||||||
|
clientId: Id cliente
|
||||||
|
base: Base
|
||||||
|
ticketId: Ticket
|
||||||
|
active: Activo
|
||||||
|
hasToInvoice: Facturar
|
||||||
|
verifiedData: Datos comprobados
|
||||||
|
comercial: Comercial
|
||||||
|
errors:
|
||||||
|
downloadCsvFailed: Error al descargar CSV
|
||||||
invoiceOutModule:
|
invoiceOutModule:
|
||||||
customer: Cliente
|
customer: Cliente
|
||||||
amount: Importe
|
amount: Importe
|
||||||
|
@ -16,27 +71,3 @@ invoiceOutList:
|
||||||
ticket: Ticket
|
ticket: Ticket
|
||||||
taxArea: Area
|
taxArea: Area
|
||||||
customsAgent: Agente de aduanas
|
customsAgent: Agente de aduanas
|
||||||
DownloadPdf: Descargar PDF
|
|
||||||
InvoiceOutSummary: Resumen
|
|
||||||
negativeBases:
|
|
||||||
country: País
|
|
||||||
clientId: ID del cliente
|
|
||||||
client: Cliente
|
|
||||||
base: Base
|
|
||||||
ticketId: Ticket
|
|
||||||
active: Activo
|
|
||||||
hasToInvoice: Debe facturar
|
|
||||||
verifiedData: Datos verificados
|
|
||||||
commercial: Comercial
|
|
||||||
invoiceout:
|
|
||||||
params:
|
|
||||||
company: Empresa
|
|
||||||
country: País
|
|
||||||
clientId: ID del cliente
|
|
||||||
clientSocialName: Cliente
|
|
||||||
taxableBase: Base
|
|
||||||
ticketFk: Ticket
|
|
||||||
isActive: Activo
|
|
||||||
hasToInvoice: Debe facturar
|
|
||||||
hasVerifiedData: Datos verificados
|
|
||||||
workerName: Comercial
|
|
|
@ -136,7 +136,7 @@ const columns = computed(() => [
|
||||||
name: 'tableActions',
|
name: 'tableActions',
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
title: t('InvoiceOutSummary'),
|
title: t('globals.pageTitles.summary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row.id, OrderSummary),
|
action: (row) => viewSummary(row.id, OrderSummary),
|
||||||
isPrimary: true,
|
isPrimary: true,
|
||||||
|
|
|
@ -1,19 +1,12 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import VnCard from 'components/common/VnCard.vue';
|
import VnCardBeta from 'components/common/VnCardBeta.vue';
|
||||||
import ParkingDescriptor from 'pages/Parking/Card/ParkingDescriptor.vue';
|
import ParkingDescriptor from 'pages/Parking/Card/ParkingDescriptor.vue';
|
||||||
import ParkingFilter from 'pages/Parking/ParkingFilter.vue';
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VnCard
|
<VnCardBeta
|
||||||
data-key="Parking"
|
data-key="Parking"
|
||||||
base-url="Parkings"
|
base-url="Parkings"
|
||||||
:descriptor="ParkingDescriptor"
|
:descriptor="ParkingDescriptor"
|
||||||
:filter-panel="ParkingFilter"
|
|
||||||
search-data-key="ParkingList"
|
|
||||||
:searchbar-props="{
|
|
||||||
url: 'Parkings',
|
|
||||||
label: 'parking.searchBar.label',
|
|
||||||
info: 'parking.searchBar.info',
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -5,17 +5,17 @@ import { useI18n } from 'vue-i18n';
|
||||||
import { useStateStore } from 'stores/useStateStore';
|
import { useStateStore } from 'stores/useStateStore';
|
||||||
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
||||||
import VnPaginate from 'components/ui/VnPaginate.vue';
|
import VnPaginate from 'components/ui/VnPaginate.vue';
|
||||||
import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
|
|
||||||
import CardList from 'components/ui/CardList.vue';
|
import CardList from 'components/ui/CardList.vue';
|
||||||
import VnLv from 'components/ui/VnLv.vue';
|
import VnLv from 'components/ui/VnLv.vue';
|
||||||
import ParkingFilter from './ParkingFilter.vue';
|
import ParkingFilter from './ParkingFilter.vue';
|
||||||
import ParkingSummary from './Card/ParkingSummary.vue';
|
import ParkingSummary from './Card/ParkingSummary.vue';
|
||||||
import RightMenu from 'src/components/common/RightMenu.vue';
|
import VnSection from 'src/components/common/VnSection.vue';
|
||||||
|
|
||||||
const stateStore = useStateStore();
|
const stateStore = useStateStore();
|
||||||
const { push } = useRouter();
|
const { push } = useRouter();
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const { viewSummary } = useSummaryDialog();
|
const { viewSummary } = useSummaryDialog();
|
||||||
|
const dataKey = 'ParkingList';
|
||||||
|
|
||||||
onMounted(() => (stateStore.rightDrawer = true));
|
onMounted(() => (stateStore.rightDrawer = true));
|
||||||
onUnmounted(() => (stateStore.rightDrawer = false));
|
onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
|
@ -37,38 +37,38 @@ function exprBuilder(param, value) {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<template>
|
<VnSection
|
||||||
<VnSearchbar
|
:data-key="dataKey"
|
||||||
data-key="ParkingList"
|
prefix="parking"
|
||||||
:label="t('Search parking')"
|
:array-data-props="{
|
||||||
:info="t('You can search by parking code')"
|
url: 'Parkings',
|
||||||
/>
|
order: ['code'],
|
||||||
</template>
|
userFilter: filter,
|
||||||
<RightMenu>
|
exprBuilder,
|
||||||
<template #right-panel>
|
}"
|
||||||
|
>
|
||||||
|
<template #advanced-menu>
|
||||||
<ParkingFilter data-key="ParkingList" />
|
<ParkingFilter data-key="ParkingList" />
|
||||||
</template>
|
</template>
|
||||||
</RightMenu>
|
<template #body>
|
||||||
<QPage class="column items-center q-pa-md">
|
<QPage class="column items-center q-pa-md">
|
||||||
<div class="vn-card-list">
|
<div class="vn-card-list">
|
||||||
<VnPaginate
|
<VnPaginate :data-key="dataKey">
|
||||||
data-key="ParkingList"
|
|
||||||
url="Parkings"
|
|
||||||
:user-filter="filter"
|
|
||||||
:expr-builder="exprBuilder"
|
|
||||||
:limit="20"
|
|
||||||
order="code"
|
|
||||||
>
|
|
||||||
<template #body="{ rows }">
|
<template #body="{ rows }">
|
||||||
<CardList
|
<CardList
|
||||||
v-for="row of rows"
|
v-for="row of rows"
|
||||||
:key="row.id"
|
:key="row.id"
|
||||||
:id="row.id"
|
:id="row.id"
|
||||||
:title="row.code"
|
:title="row.code"
|
||||||
@click="push({ path: `/parking/${row.id}` })"
|
@click="
|
||||||
|
push({ path: `/shelving/parking/${row.id}/summary` })
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template #list-items>
|
<template #list-items>
|
||||||
<VnLv label="Sector" :value="row.sector?.description" />
|
<VnLv
|
||||||
|
label="Sector"
|
||||||
|
:value="row.sector?.description"
|
||||||
|
/>
|
||||||
<VnLv
|
<VnLv
|
||||||
:label="t('parking.pickingOrder')"
|
:label="t('parking.pickingOrder')"
|
||||||
:value="row.pickingOrder"
|
:value="row.pickingOrder"
|
||||||
|
@ -87,8 +87,5 @@ function exprBuilder(param, value) {
|
||||||
</div>
|
</div>
|
||||||
</QPage>
|
</QPage>
|
||||||
</template>
|
</template>
|
||||||
<i18n>
|
</VnSection>
|
||||||
es:
|
</template>
|
||||||
Search parking: Buscar parking
|
|
||||||
You can search by parking code: Puede buscar por el código del parking
|
|
||||||
</i18n>
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
parking:
|
||||||
|
pickingOrder: Picking order
|
||||||
|
sector: Sector
|
||||||
|
row: Row
|
||||||
|
column: Column
|
||||||
|
search: Search parking
|
||||||
|
searchInfo: You can search by parking code
|
|
@ -0,0 +1,7 @@
|
||||||
|
parking:
|
||||||
|
pickingOrder: Orden de recogida
|
||||||
|
row: Fila
|
||||||
|
sector: Sector
|
||||||
|
column: Columna
|
||||||
|
search: Buscar parking
|
||||||
|
searchInfo: Puedes buscar por código de parking
|
|
@ -1,19 +1,12 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import VnCard from 'components/common/VnCard.vue';
|
import VnCardBeta from 'components/common/VnCardBeta.vue';
|
||||||
import ShelvingDescriptor from 'pages/Shelving/Card/ShelvingDescriptor.vue';
|
import ShelvingDescriptor from 'pages/Shelving/Card/ShelvingDescriptor.vue';
|
||||||
import ShelvingFilter from './ShelvingFilter.vue';
|
|
||||||
import ShelvingSearchbar from './ShelvingSearchbar.vue';
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VnCard
|
<VnCardBeta
|
||||||
data-key="Shelving"
|
data-key="Shelving"
|
||||||
base-url="Shelvings"
|
base-url="Shelvings"
|
||||||
:descriptor="ShelvingDescriptor"
|
:descriptor="ShelvingDescriptor"
|
||||||
:filter-panel="ShelvingFilter"
|
/>
|
||||||
search-data-key="ShelvingList"
|
|
||||||
>
|
|
||||||
<template #searchbar>
|
|
||||||
<ShelvingSearchbar />
|
|
||||||
</template>
|
|
||||||
</VnCard>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -6,13 +6,14 @@ import VnLv from 'components/ui/VnLv.vue';
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
import ShelvingFilter from 'pages/Shelving/Card/ShelvingFilter.vue';
|
import ShelvingFilter from 'pages/Shelving/Card/ShelvingFilter.vue';
|
||||||
import ShelvingSummary from 'pages/Shelving/Card/ShelvingSummary.vue';
|
import ShelvingSummary from 'pages/Shelving/Card/ShelvingSummary.vue';
|
||||||
import ShelvingSearchbar from 'pages/Shelving/Card/ShelvingSearchbar.vue';
|
|
||||||
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
||||||
import RightMenu from 'src/components/common/RightMenu.vue';
|
import VnSection from 'src/components/common/VnSection.vue';
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const { viewSummary } = useSummaryDialog();
|
const { viewSummary } = useSummaryDialog();
|
||||||
|
const dataKey = 'ShelvingList';
|
||||||
|
|
||||||
const filter = {
|
const filter = {
|
||||||
include: [{ relation: 'parking' }],
|
include: [{ relation: 'parking' }],
|
||||||
};
|
};
|
||||||
|
@ -34,21 +35,23 @@ function exprBuilder(param, value) {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ShelvingSearchbar />
|
<VnSection
|
||||||
<RightMenu>
|
:data-key="dataKey"
|
||||||
<template #right-panel>
|
prefix="shelving"
|
||||||
|
:array-data-props="{
|
||||||
|
url: 'Shelvings',
|
||||||
|
order: ['code'],
|
||||||
|
userFilter: filter,
|
||||||
|
exprBuilder,
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<template #advanced-menu>
|
||||||
<ShelvingFilter data-key="ShelvingList" />
|
<ShelvingFilter data-key="ShelvingList" />
|
||||||
</template>
|
</template>
|
||||||
</RightMenu>
|
<template #body>
|
||||||
<QPage class="column items-center q-pa-md">
|
<QPage class="column items-center q-pa-md">
|
||||||
<div class="vn-card-list">
|
<div class="vn-card-list">
|
||||||
<VnPaginate
|
<VnPaginate :data-key="dataKey">
|
||||||
data-key="ShelvingList"
|
|
||||||
url="Shelvings"
|
|
||||||
:filter="filter"
|
|
||||||
:expr-builder="exprBuilder"
|
|
||||||
:limit="20"
|
|
||||||
>
|
|
||||||
<template #body="{ rows }">
|
<template #body="{ rows }">
|
||||||
<CardList
|
<CardList
|
||||||
v-for="row of rows"
|
v-for="row of rows"
|
||||||
|
@ -89,3 +92,5 @@ function exprBuilder(param, value) {
|
||||||
</QPageSticky>
|
</QPageSticky>
|
||||||
</QPage>
|
</QPage>
|
||||||
</template>
|
</template>
|
||||||
|
</VnSection>
|
||||||
|
</template>
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
shelving:
|
||||||
|
list:
|
||||||
|
parking: Parking
|
||||||
|
priority: Priority
|
||||||
|
newShelving: New Shelving
|
||||||
|
summary:
|
||||||
|
recyclable: Recyclable
|
||||||
|
search: Search shelving
|
||||||
|
searchInfo: You can search by shelving reference
|
|
@ -0,0 +1,9 @@
|
||||||
|
shelving:
|
||||||
|
list:
|
||||||
|
parking: Parking
|
||||||
|
priority: Prioridad
|
||||||
|
newShelving: Nuevo Carro
|
||||||
|
summary:
|
||||||
|
recyclable: Reciclable
|
||||||
|
search: Buscar carro
|
||||||
|
searchInfo: Puedes buscar por referencia del carro
|
|
@ -1,9 +1,8 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import VnCard from 'components/common/VnCard.vue';
|
|
||||||
import TravelDescriptor from './TravelDescriptor.vue';
|
import TravelDescriptor from './TravelDescriptor.vue';
|
||||||
import TravelFilter from '../TravelFilter.vue';
|
import VnCardBeta from 'src/components/common/VnCardBeta.vue';
|
||||||
|
|
||||||
const filter = {
|
const userFilter = {
|
||||||
fields: [
|
fields: [
|
||||||
'id',
|
'id',
|
||||||
'ref',
|
'ref',
|
||||||
|
@ -35,17 +34,10 @@ const filter = {
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<VnCard
|
<VnCardBeta
|
||||||
data-key="Travel"
|
data-key="Travel"
|
||||||
base-url="Travels"
|
base-url="Travels"
|
||||||
search-data-key="TravelList"
|
|
||||||
:filter="filter"
|
|
||||||
:descriptor="TravelDescriptor"
|
:descriptor="TravelDescriptor"
|
||||||
:filter-panel="TravelFilter"
|
:user-filter="userFilter"
|
||||||
:searchbar-props="{
|
|
||||||
url: 'Travels/filter',
|
|
||||||
searchUrl: 'table',
|
|
||||||
label: 'Search travel',
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -5,18 +5,18 @@ import { useRouter, useRoute } from 'vue-router';
|
||||||
import VnTable from 'components/VnTable/VnTable.vue';
|
import VnTable from 'components/VnTable/VnTable.vue';
|
||||||
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
||||||
import TravelSummary from './Card/TravelSummary.vue';
|
import TravelSummary from './Card/TravelSummary.vue';
|
||||||
import VnSearchbar from 'components/ui/VnSearchbar.vue';
|
|
||||||
import { toDate } from 'src/filters';
|
import { toDate } from 'src/filters';
|
||||||
import { getDateQBadgeColor } from 'src/composables/getDateQBadgeColor.js';
|
import { getDateQBadgeColor } from 'src/composables/getDateQBadgeColor.js';
|
||||||
import RightMenu from 'src/components/common/RightMenu.vue';
|
|
||||||
import TravelFilter from './TravelFilter.vue';
|
import TravelFilter from './TravelFilter.vue';
|
||||||
import VnInputNumber from 'src/components/common/VnInputNumber.vue';
|
import VnInputNumber from 'src/components/common/VnInputNumber.vue';
|
||||||
|
import VnSection from 'src/components/common/VnSection.vue';
|
||||||
|
|
||||||
const { viewSummary } = useSummaryDialog();
|
const { viewSummary } = useSummaryDialog();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const tableRef = ref();
|
const tableRef = ref();
|
||||||
|
const dataKey = 'TravelList';
|
||||||
const $props = defineProps({
|
const $props = defineProps({
|
||||||
id: {
|
id: {
|
||||||
type: Number,
|
type: Number,
|
||||||
|
@ -196,21 +196,23 @@ const columns = computed(() => [
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VnSearchbar
|
<VnSection
|
||||||
:info="t('You can search by travel id or name')"
|
:data-key="dataKey"
|
||||||
:label="t('Search travel')"
|
:columns="columns"
|
||||||
data-key="TravelList"
|
prefix="travel"
|
||||||
/>
|
:array-data-props="{
|
||||||
<RightMenu>
|
url: 'Travels/filter',
|
||||||
<template #right-panel>
|
order: ['landed DESC'],
|
||||||
|
userParams: { daysOnward: 7 },
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<template #advanced-menu>
|
||||||
<TravelFilter data-key="TravelList" />
|
<TravelFilter data-key="TravelList" />
|
||||||
</template>
|
</template>
|
||||||
</RightMenu>
|
<template #body>
|
||||||
<VnTable
|
<VnTable
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
data-key="TravelList"
|
:data-key="dataKey"
|
||||||
url="Travels/filter"
|
|
||||||
redirect="travel"
|
|
||||||
:create="{
|
:create="{
|
||||||
urlCreate: 'Travels',
|
urlCreate: 'Travels',
|
||||||
title: t('Create Travels'),
|
title: t('Create Travels'),
|
||||||
|
@ -220,8 +222,7 @@ const columns = computed(() => [
|
||||||
},
|
},
|
||||||
}"
|
}"
|
||||||
:right-search="false"
|
:right-search="false"
|
||||||
:user-params="{ daysOnward: 7 }"
|
redirect="travel"
|
||||||
order="landed DESC"
|
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:is-editable="false"
|
:is-editable="false"
|
||||||
>
|
>
|
||||||
|
@ -281,6 +282,8 @@ const columns = computed(() => [
|
||||||
</template>
|
</template>
|
||||||
</VnTable>
|
</VnTable>
|
||||||
</template>
|
</template>
|
||||||
|
</VnSection>
|
||||||
|
</template>
|
||||||
<i18n>
|
<i18n>
|
||||||
en:
|
en:
|
||||||
Add entry: Add entry
|
Add entry: Add entry
|
||||||
|
|
|
@ -13,7 +13,6 @@ import Travel from './travel';
|
||||||
import Order from './order';
|
import Order from './order';
|
||||||
import Entry from './entry';
|
import Entry from './entry';
|
||||||
import roadmap from './roadmap';
|
import roadmap from './roadmap';
|
||||||
import Parking from './parking';
|
|
||||||
import Agency from './agency';
|
import Agency from './agency';
|
||||||
import Zone from './zone';
|
import Zone from './zone';
|
||||||
import Account from './account';
|
import Account from './account';
|
||||||
|
@ -36,7 +35,6 @@ export default [
|
||||||
invoiceIn,
|
invoiceIn,
|
||||||
Entry,
|
Entry,
|
||||||
roadmap,
|
roadmap,
|
||||||
Parking,
|
|
||||||
Agency,
|
Agency,
|
||||||
Zone,
|
Zone,
|
||||||
Account,
|
Account,
|
||||||
|
|
|
@ -1,34 +1,60 @@
|
||||||
import { RouterView } from 'vue-router';
|
import { RouterView } from 'vue-router';
|
||||||
|
|
||||||
|
const invoiceOutCard = {
|
||||||
|
name: 'InvoiceOutCard',
|
||||||
|
path: ':id',
|
||||||
|
component: () => import('src/pages/InvoiceOut/Card/InvoiceOutCard.vue'),
|
||||||
|
redirect: { name: 'InvoiceOutSummary' },
|
||||||
|
meta: {
|
||||||
|
menu: [],
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'summary',
|
||||||
|
name: 'InvoiceOutSummary',
|
||||||
|
meta: {
|
||||||
|
title: 'summary',
|
||||||
|
icon: 'launch',
|
||||||
|
},
|
||||||
|
component: () => import('src/pages/InvoiceOut/Card/InvoiceOutSummary.vue'),
|
||||||
|
}
|
||||||
|
],
|
||||||
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
path: '/invoice-out',
|
|
||||||
name: 'InvoiceOut',
|
name: 'InvoiceOut',
|
||||||
|
path: '/invoice-out',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'invoiceOuts',
|
title: 'invoiceOuts',
|
||||||
icon: 'vn:invoice-out',
|
icon: 'vn:invoice-out',
|
||||||
moduleName: 'InvoiceOut',
|
moduleName: 'InvoiceOut',
|
||||||
|
menu: ['InvoiceOutList', 'InvoiceOutGlobal', 'InvoiceOutNegativeBases'],
|
||||||
},
|
},
|
||||||
component: RouterView,
|
component: RouterView,
|
||||||
redirect: { name: 'InvoiceOutMain' },
|
redirect: { name: 'InvoiceOutMain' },
|
||||||
menus: {
|
children: [
|
||||||
main: ['InvoiceOutList', 'InvoiceOutGlobal', 'InvoiceOutNegativeBases'],
|
{
|
||||||
card: [],
|
name: 'InvoiceOutMain',
|
||||||
},
|
path: '',
|
||||||
|
component: () => import('src/components/common/VnModule.vue'),
|
||||||
|
redirect: { name: 'InvoiceOutIndexMain' },
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
name: 'InvoiceOutMain',
|
name: 'InvoiceOutIndexMain',
|
||||||
component: () => import('src/components/common/VnModule.vue'),
|
|
||||||
redirect: { name: 'InvoiceOutList' },
|
redirect: { name: 'InvoiceOutList' },
|
||||||
|
component: () => import('src/pages/InvoiceOut/InvoiceOutList.vue'),
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'list',
|
|
||||||
name: 'InvoiceOutList',
|
name: 'InvoiceOutList',
|
||||||
|
path: 'list',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'list',
|
title: 'list',
|
||||||
icon: 'view_list',
|
icon: 'view_list',
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/InvoiceOut/InvoiceOutList.vue'),
|
},
|
||||||
|
invoiceOutCard,
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'global-invoicing',
|
path: 'global-invoicing',
|
||||||
|
@ -51,22 +77,5 @@ export default {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'InvoiceOutCard',
|
|
||||||
path: ':id',
|
|
||||||
component: () => import('src/pages/InvoiceOut/Card/InvoiceOutCard.vue'),
|
|
||||||
redirect: { name: 'InvoiceOutSummary' },
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
name: 'InvoiceOutSummary',
|
|
||||||
path: 'summary',
|
|
||||||
meta: {
|
|
||||||
title: 'summary',
|
|
||||||
},
|
|
||||||
component: () =>
|
|
||||||
import('src/pages/InvoiceOut/Card/InvoiceOutSummary.vue'),
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
};
|
};
|
|
@ -1,54 +0,0 @@
|
||||||
import { RouterView } from 'vue-router';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
path: '/parking',
|
|
||||||
name: 'Parking',
|
|
||||||
meta: {
|
|
||||||
title: 'parking',
|
|
||||||
icon: 'garage_home',
|
|
||||||
moduleName: 'Parking',
|
|
||||||
},
|
|
||||||
component: RouterView,
|
|
||||||
redirect: { name: 'ParkingCard' },
|
|
||||||
menus: {
|
|
||||||
main: [],
|
|
||||||
card: ['ParkingBasicData', 'ParkingLog'],
|
|
||||||
},
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: '/parking/:id',
|
|
||||||
name: 'ParkingCard',
|
|
||||||
component: () => import('src/pages/Parking/Card/ParkingCard.vue'),
|
|
||||||
redirect: { name: 'ParkingSummary' },
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
name: 'ParkingSummary',
|
|
||||||
path: 'summary',
|
|
||||||
meta: {
|
|
||||||
title: 'summary',
|
|
||||||
icon: 'view_list',
|
|
||||||
},
|
|
||||||
component: () => import('src/pages/Parking/Card/ParkingSummary.vue'),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'ParkingBasicData',
|
|
||||||
path: 'basic-data',
|
|
||||||
meta: {
|
|
||||||
title: 'basicData',
|
|
||||||
icon: 'vn:settings',
|
|
||||||
},
|
|
||||||
component: () => import('pages/Parking/Card/ParkingBasicData.vue'),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'ParkingLog',
|
|
||||||
path: 'log',
|
|
||||||
meta: {
|
|
||||||
title: 'log',
|
|
||||||
icon: 'history',
|
|
||||||
},
|
|
||||||
component: () => import('src/pages/Parking/Card/ParkingLog.vue'),
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
|
|
@ -1,62 +1,45 @@
|
||||||
import { RouterView } from 'vue-router';
|
import { RouterView } from 'vue-router';
|
||||||
|
|
||||||
export default {
|
const parkingCard = {
|
||||||
path: '/shelving',
|
name: 'ParkingCard',
|
||||||
name: 'Shelving',
|
path: ':id',
|
||||||
|
component: () => import('src/pages/Parking/Card/ParkingCard.vue'),
|
||||||
|
redirect: { name: 'ParkingSummary' },
|
||||||
meta: {
|
meta: {
|
||||||
title: 'shelving',
|
menu: ['ParkingBasicData', 'ParkingLog'],
|
||||||
icon: 'vn:inventory',
|
|
||||||
moduleName: 'Shelving',
|
|
||||||
},
|
|
||||||
component: RouterView,
|
|
||||||
redirect: { name: 'ShelvingMain' },
|
|
||||||
menus: {
|
|
||||||
main: ['ShelvingList', 'ParkingList'],
|
|
||||||
card: ['ShelvingBasicData', 'ShelvingLog'],
|
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: 'summary',
|
||||||
name: 'ShelvingMain',
|
name: 'ParkingSummary',
|
||||||
component: () => import('src/components/common/VnModule.vue'),
|
|
||||||
redirect: { name: 'ShelvingList' },
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'list',
|
|
||||||
name: 'ShelvingList',
|
|
||||||
meta: {
|
meta: {
|
||||||
title: 'list',
|
title: 'summary',
|
||||||
icon: 'view_list',
|
icon: 'launch',
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Shelving/ShelvingList.vue'),
|
component: () => import('src/pages/Parking/Card/ParkingSummary.vue'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'create',
|
path: 'basic-data',
|
||||||
name: 'ShelvingCreate',
|
name: 'ParkingBasicData',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'shelvingCreate',
|
title: 'basicData',
|
||||||
icon: 'add',
|
icon: 'vn:settings',
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Shelving/Card/ShelvingForm.vue'),
|
component: () => import('src/pages/Parking/Card/ParkingBasicData.vue'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/parking',
|
path: 'log',
|
||||||
redirect: { name: 'ParkingList' },
|
name: 'ParkingLog',
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'list',
|
|
||||||
name: 'ParkingList',
|
|
||||||
meta: {
|
meta: {
|
||||||
title: 'parkingList',
|
title: 'log',
|
||||||
icon: 'view_list',
|
icon: 'history',
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Parking/ParkingList.vue'),
|
component: () => import('src/pages/Parking/Card/ParkingLog.vue'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
};
|
||||||
],
|
|
||||||
},
|
const shelvingCard = {
|
||||||
{
|
|
||||||
name: 'ShelvingLayout',
|
name: 'ShelvingLayout',
|
||||||
path: ':id',
|
path: ':id',
|
||||||
component: () => import('pages/Shelving/Card/ShelvingCard.vue'),
|
component: () => import('pages/Shelving/Card/ShelvingCard.vue'),
|
||||||
|
@ -89,6 +72,73 @@ export default {
|
||||||
component: () => import('src/pages/Shelving/Card/ShelvingLog.vue'),
|
component: () => import('src/pages/Shelving/Card/ShelvingLog.vue'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
};
|
||||||
|
|
||||||
|
export default {
|
||||||
|
path: '/shelving',
|
||||||
|
name: 'Shelving',
|
||||||
|
meta: {
|
||||||
|
title: 'shelving',
|
||||||
|
icon: 'vn:inventory',
|
||||||
|
moduleName: 'Shelving',
|
||||||
|
},
|
||||||
|
component: RouterView,
|
||||||
|
redirect: { name: 'ShelvingMain' },
|
||||||
|
menus: {
|
||||||
|
main: ['ShelvingList', 'ParkingMain'],
|
||||||
|
card: ['ShelvingBasicData', 'ShelvingLog'],
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
name: 'ShelvingMain',
|
||||||
|
component: () => import('src/components/common/VnModule.vue'),
|
||||||
|
redirect: { name: 'ShelvingSection' },
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
name: 'ShelvingSection',
|
||||||
|
redirect: { name: 'ShelvingList' },
|
||||||
|
component: () => import('src/pages/Shelving/ShelvingList.vue'),
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'list',
|
||||||
|
name: 'ShelvingList',
|
||||||
|
meta: {
|
||||||
|
title: 'list',
|
||||||
|
icon: 'view_list',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
shelvingCard,
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'create',
|
||||||
|
name: 'ShelvingCreate',
|
||||||
|
meta: {
|
||||||
|
title: 'shelvingCreate',
|
||||||
|
icon: 'add',
|
||||||
|
},
|
||||||
|
component: () => import('src/pages/Shelving/Card/ShelvingForm.vue'),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'parking',
|
||||||
|
name: 'ParkingMain',
|
||||||
|
redirect: { name: 'ParkingList' },
|
||||||
|
meta: {
|
||||||
|
title: 'parkingList',
|
||||||
|
icon: 'view_list',
|
||||||
|
},
|
||||||
|
component: () => import('src/pages/Parking/ParkingList.vue'),
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'list',
|
||||||
|
name: 'ParkingList',
|
||||||
|
},
|
||||||
|
parkingCard,
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,60 +1,13 @@
|
||||||
import { RouterView } from 'vue-router';
|
import { RouterView } from 'vue-router';
|
||||||
|
|
||||||
export default {
|
const travelCard = {
|
||||||
path: '/travel',
|
|
||||||
name: 'Travel',
|
|
||||||
meta: {
|
|
||||||
title: 'travel',
|
|
||||||
icon: 'local_airport',
|
|
||||||
moduleName: 'Travel',
|
|
||||||
},
|
|
||||||
component: RouterView,
|
|
||||||
redirect: { name: 'TravelMain' },
|
|
||||||
menus: {
|
|
||||||
main: ['TravelList', 'ExtraCommunity'],
|
|
||||||
card: ['TravelBasicData', 'TravelHistory', 'TravelThermographs'],
|
|
||||||
},
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
name: 'TravelMain',
|
|
||||||
component: () => import('src/components/common/VnModule.vue'),
|
|
||||||
redirect: { name: 'TravelList' },
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'list',
|
|
||||||
name: 'TravelList',
|
|
||||||
meta: {
|
|
||||||
title: 'list',
|
|
||||||
icon: 'view_list',
|
|
||||||
},
|
|
||||||
component: () => import('src/pages/Travel/TravelList.vue'),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'extra-community',
|
|
||||||
name: 'ExtraCommunity',
|
|
||||||
meta: {
|
|
||||||
title: 'extraCommunity',
|
|
||||||
icon: 'vn:shipment',
|
|
||||||
},
|
|
||||||
component: () => import('src/pages/Travel/ExtraCommunity.vue'),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'create',
|
|
||||||
name: 'TravelCreate',
|
|
||||||
meta: {
|
|
||||||
title: 'travelCreate',
|
|
||||||
icon: 'add',
|
|
||||||
},
|
|
||||||
component: () => import('src/pages/Travel/TravelCreate.vue'),
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'TravelCard',
|
name: 'TravelCard',
|
||||||
path: ':id',
|
path: ':id',
|
||||||
component: () => import('src/pages/Travel/Card/TravelCard.vue'),
|
component: () => import('src/pages/Travel/Card/TravelCard.vue'),
|
||||||
redirect: { name: 'TravelSummary' },
|
redirect: { name: 'TravelSummary' },
|
||||||
|
meta: {
|
||||||
|
menu: ['TravelBasicData', 'TravelHistory', 'TravelThermographs'],
|
||||||
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'TravelSummary',
|
name: 'TravelSummary',
|
||||||
|
@ -119,6 +72,62 @@ export default {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
export default {
|
||||||
|
path: '/travel',
|
||||||
|
name: 'Travel',
|
||||||
|
meta: {
|
||||||
|
title: 'travel',
|
||||||
|
icon: 'local_airport',
|
||||||
|
moduleName: 'Travel',
|
||||||
|
menu: ['TravelList', 'ExtraCommunity'],
|
||||||
|
},
|
||||||
|
component: RouterView,
|
||||||
|
redirect: { name: 'TravelMain' },
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
name: 'TravelMain',
|
||||||
|
component: () => import('src/components/common/VnModule.vue'),
|
||||||
|
redirect: { name: 'TravelIndexMain' },
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
name: 'TravelIndexMain',
|
||||||
|
redirect: { name: 'TravelList' },
|
||||||
|
component: () => import('src/pages/Travel/TravelList.vue'),
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
name: 'TravelList',
|
||||||
|
path: 'list',
|
||||||
|
meta: {
|
||||||
|
title: 'list',
|
||||||
|
icon: 'view_list',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
travelCard,
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'extra-community',
|
||||||
|
name: 'ExtraCommunity',
|
||||||
|
meta: {
|
||||||
|
title: 'extraCommunity',
|
||||||
|
icon: 'vn:shipment',
|
||||||
|
},
|
||||||
|
component: () => import('src/pages/Travel/ExtraCommunity.vue'),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'create',
|
||||||
|
name: 'TravelCreate',
|
||||||
|
meta: {
|
||||||
|
title: 'travelCreate',
|
||||||
|
icon: 'add',
|
||||||
|
},
|
||||||
|
component: () => import('src/pages/Travel/TravelCreate.vue'),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -13,7 +13,6 @@ import shelving from 'src/router/modules/shelving';
|
||||||
import order from 'src/router/modules/order';
|
import order from 'src/router/modules/order';
|
||||||
import entry from 'src/router/modules/entry';
|
import entry from 'src/router/modules/entry';
|
||||||
import roadmap from 'src/router/modules/roadmap';
|
import roadmap from 'src/router/modules/roadmap';
|
||||||
import parking from 'src/router/modules/parking';
|
|
||||||
import agency from 'src/router/modules/agency';
|
import agency from 'src/router/modules/agency';
|
||||||
import zone from 'src/router/modules/zone';
|
import zone from 'src/router/modules/zone';
|
||||||
import account from './modules/account';
|
import account from './modules/account';
|
||||||
|
@ -86,7 +85,6 @@ const routes = [
|
||||||
travel,
|
travel,
|
||||||
roadmap,
|
roadmap,
|
||||||
entry,
|
entry,
|
||||||
parking,
|
|
||||||
agency,
|
agency,
|
||||||
zone,
|
zone,
|
||||||
account,
|
account,
|
||||||
|
|
|
@ -15,7 +15,7 @@ describe('Client list', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it.skip('Client list create new client', () => {
|
it('Client list create new client', () => {
|
||||||
cy.addBtnClick();
|
cy.addBtnClick();
|
||||||
const randomInt = Math.floor(Math.random() * 90) + 10;
|
const randomInt = Math.floor(Math.random() * 90) + 10;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/// <reference types="cypress" />
|
/// <reference types="cypress" />
|
||||||
describe('Client unpaid', () => {
|
describe('Client unpaid', () => {
|
||||||
|
const UnpaidCheckBox = '[data-cy="UnpaidCheckBox"]';
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.viewport(1280, 720);
|
cy.viewport(1280, 720);
|
||||||
cy.login('developer');
|
cy.login('developer');
|
||||||
|
@ -7,7 +8,7 @@ describe('Client unpaid', () => {
|
||||||
it('Should add unpaid', () => {
|
it('Should add unpaid', () => {
|
||||||
cy.visit('#/customer/1102/others/unpaid');
|
cy.visit('#/customer/1102/others/unpaid');
|
||||||
cy.get('.q-card').should('be.visible');
|
cy.get('.q-card').should('be.visible');
|
||||||
cy.get('.q-checkbox__inner').click();
|
cy.get(UnpaidCheckBox).click();
|
||||||
cy.dataCy('customerUnpaidAmount').find('input').type('100');
|
cy.dataCy('customerUnpaidAmount').find('input').type('100');
|
||||||
cy.dataCy('customerUnpaidDate').find('input').type('01/01/2001');
|
cy.dataCy('customerUnpaidDate').find('input').type('01/01/2001');
|
||||||
cy.get('.q-btn-group > .q-btn--standard').click();
|
cy.get('.q-btn-group > .q-btn--standard').click();
|
||||||
|
|
Loading…
Reference in New Issue