fix(TicketSale): refs #8449 correct router.push to /log

This commit is contained in:
Alex Moreno 2025-03-26 07:57:35 +01:00
parent 4a2b147320
commit a9fd5894b5
3 changed files with 8 additions and 4 deletions

View File

@ -372,6 +372,7 @@ globals:
nickname: Alias
changedModel: Entity
changedModelValue: Search
changedModelId: Entity id
userFk: User
action: Action
model: Model

View File

@ -373,6 +373,7 @@ globals:
nickname: Alias
changedModel: Entidad
changedModelValue: Buscar
changedModelId: Id de entidad
userFk: Usuario
action: Acción
errors:

View File

@ -377,10 +377,12 @@ const newOrderFromTicket = async () => {
const goToLog = (saleId) => {
router.push({
name: 'TicketLog',
params: {
originId: route.params.id,
changedModel: 'Sale',
changedModelId: saleId,
query: {
logs: JSON.stringify({
originFk: route.params.id,
changedModel: 'Sale',
changedModelId: saleId,
}),
},
});
};