Merge branch '8138-add-component-ticketProblems' of https://gitea.verdnatura.es/verdnatura/salix-front into 8138-add-component-ticketProblems
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Pablo Natek 2024-11-19 13:51:23 +01:00
commit 479c428edf
4 changed files with 15 additions and 5 deletions

View File

@ -166,6 +166,7 @@ onMounted(() => {
:expr-builder="exprBuilder"
:custom-tags="['tagGroups', 'categoryFk']"
:redirect="false"
search-url="params"
>
<template #tags="{ tag, formatFn }">
<strong v-if="tag.label === 'typeFk'">

View File

@ -111,6 +111,7 @@ const columns = computed(() => [
component: 'select',
attrs: {
url: 'Items',
sortBy: 'name ASC ',
fields: ['id', 'name', 'subName'],
},
columnField: {

View File

@ -94,25 +94,32 @@ const columns = computed(() => [
},
{
align: 'left',
label: t('ticketList.id'),
label: t('globals.id'),
name: 'itemFk',
},
{
align: 'left',
label: t('basicData.quantity'),
label: t('globals.quantity'),
name: 'quantity',
format: (row) => toCurrency(row.quantity),
},
{
align: 'left',
label: t('basicData.item'),
label: t('globals.item'),
name: 'item',
format: (row) => row?.item?.name,
columnClass: 'expand',
},
{
align: 'left',
label: t('basicData.price'),
label: t('globals.size'),
name: 'size',
format: (row) => row?.item?.size,
columnClass: 'expand',
},
{
align: 'left',
label: t('globals.price'),
name: 'price',
format: (row) => toCurrency(row.price),
},
@ -124,7 +131,7 @@ const columns = computed(() => [
},
{
align: 'left',
label: t('ticketList.amount'),
label: t('globals.amount'),
name: 'amount',
format: (row) => parseInt(row.amount * row.quantity),
},

View File

@ -138,6 +138,7 @@ ticketSale:
ok: Ok
more: Más
address: Consignatario
size: Medida
ticketComponents:
serie: Serie
components: Componentes