Compare commits
7 Commits
f999760205
...
6ab31fa2d2
Author | SHA1 | Date |
---|---|---|
Pablo Natek | 6ab31fa2d2 | |
Alex Moreno | afaf2df2ee | |
Alex Moreno | 43f58d3dba | |
Alex Moreno | 00fdbfa2e4 | |
Alex Moreno | 8f526798f9 | |
Alex Moreno | f3ca51aab4 | |
Carlos Satorres | d3993442b6 |
|
@ -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'">
|
||||
|
|
|
@ -111,6 +111,7 @@ const columns = computed(() => [
|
|||
component: 'select',
|
||||
attrs: {
|
||||
url: 'Items',
|
||||
sortBy: 'name ASC ',
|
||||
fields: ['id', 'name', 'subName'],
|
||||
},
|
||||
columnField: {
|
||||
|
|
|
@ -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),
|
||||
},
|
||||
|
|
|
@ -138,6 +138,7 @@ ticketSale:
|
|||
ok: Ok
|
||||
more: Más
|
||||
address: Consignatario
|
||||
size: Medida
|
||||
ticketComponents:
|
||||
serie: Serie
|
||||
components: Componentes
|
||||
|
|
Loading…
Reference in New Issue