refs #7355 previews
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-08-29 15:06:09 +02:00
parent 691c9a8e81
commit 36a7618ef5
5 changed files with 11 additions and 6 deletions

View File

@ -79,7 +79,7 @@ const columns = computed(() => [
align: 'left', align: 'left',
label: t('claim.state'), label: t('claim.state'),
format: ({ stateCode }) => format: ({ stateCode }) =>
claimFilterRef.value?.states.find(({code}) => code === stateCode) claimFilterRef.value?.states.find(({ code }) => code === stateCode)
?.description, ?.description,
name: 'stateCode', name: 'stateCode',
chip: { chip: {
@ -100,7 +100,7 @@ const columns = computed(() => [
name: 'tableActions', name: 'tableActions',
actions: [ actions: [
{ {
title: t('Client ticket list'), title: t('View summary'),
icon: 'preview', icon: 'preview',
action: (row) => viewSummary(row.id, ClaimSummary), action: (row) => viewSummary(row.id, ClaimSummary),
}, },
@ -155,6 +155,7 @@ es:
You can search by claim id or customer name: Puedes buscar por id de la reclamación o nombre del cliente You can search by claim id or customer name: Puedes buscar por id de la reclamación o nombre del cliente
params: params:
stateCode: Estado stateCode: Estado
View summary: Ver resumen
en: en:
params: params:
stateCode: State stateCode: State

View File

@ -357,7 +357,7 @@ const columns = computed(() => [
isPrimary: true, isPrimary: true,
}, },
{ {
title: t('Client ticket list'), title: t('View Summary'),
icon: 'preview', icon: 'preview',
action: (row) => viewSummary(row.id, CustomerSummary), action: (row) => viewSummary(row.id, CustomerSummary),
}, },
@ -432,6 +432,7 @@ function handleLocation(data, location) {
<i18n> <i18n>
es: es:
Web user: Usuario Web Web user: Usuario Web
View Summary: Ver resumen
</i18n> </i18n>
<style lang="scss" scoped> <style lang="scss" scoped>
.col-content { .col-content {

View File

@ -122,7 +122,7 @@ const columns = computed(() => [
name: 'tableActions', name: 'tableActions',
actions: [ actions: [
{ {
title: t('InvoiceOutSummary'), title: t('View Summary'),
icon: 'preview', icon: 'preview',
action: (row) => viewSummary(row.id, InvoiceOutSummary), action: (row) => viewSummary(row.id, InvoiceOutSummary),
}, },
@ -290,5 +290,6 @@ es:
fileAllowed: Descarga exitosa de archivo CSV fileAllowed: Descarga exitosa de archivo CSV
youCanSearchByInvoiceReference: Puedes buscar por referencia de la factura youCanSearchByInvoiceReference: Puedes buscar por referencia de la factura
createInvoice: Crear factura createInvoice: Crear factura
View Summary: Ver resumen
Create manual invoice: Crear factura manual Create manual invoice: Crear factura manual
</i18n> </i18n>

View File

@ -185,7 +185,7 @@ const columns = computed(() => [
action: (row) => openTicketsDialog(row?.id), action: (row) => openTicketsDialog(row?.id),
}, },
{ {
title: t('Preview'), title: t('View Summary'),
icon: 'preview', icon: 'preview',
action: (row) => viewSummary(row?.id, RouteSummary), action: (row) => viewSummary(row?.id, RouteSummary),
}, },
@ -387,4 +387,5 @@ es:
Route is not served: La ruta no está servida Route is not served: La ruta no está servida
hourStarted: Hora de inicio hourStarted: Hora de inicio
hourFinished: Hora de fin hourFinished: Hora de fin
View Summary: Ver resumen
</i18n> </i18n>

View File

@ -77,7 +77,7 @@ const columns = computed(() => [
name: 'tableActions', name: 'tableActions',
actions: [ actions: [
{ {
title: t('InvoiceOutSummary'), title: t('View Summary'),
icon: 'preview', icon: 'preview',
action: (row) => viewSummary(row.id, WorkerSummary), action: (row) => viewSummary(row.id, WorkerSummary),
}, },
@ -342,4 +342,5 @@ async function autofillBic(worker) {
es: es:
Search worker: Buscar trabajador Search worker: Buscar trabajador
You can search by worker id or name: Puedes buscar por id o nombre del trabajador You can search by worker id or name: Puedes buscar por id o nombre del trabajador
View Summary: Ver resumen
</i18n> </i18n>