feat: refs #7129 add km start and end on create form #666

Merged
pablone merged 3 commits from 7129-someFixesAfterMigration into dev 2024-09-03 05:28:09 +00:00
2 changed files with 35 additions and 13 deletions

View File

@ -217,7 +217,7 @@ const ticketColumns = ref([
<template #body-cell-city="{ value, row }">
<QTd auto-width>
<span
class="text-primary cursor-pointer"
class="link cursor-pointer"
@click="openBuscaman(entity?.route?.vehicleFk, [row])"
>
{{ value }}
@ -226,7 +226,7 @@ const ticketColumns = ref([
</template>
<template #body-cell-client="{ value, row }">
<QTd auto-width>
<span class="text-primary cursor-pointer">
<span class="link cursor-pointer">
{{ value }}
<CustomerDescriptorProxy :id="row?.clientFk" />
</span>
@ -234,7 +234,7 @@ const ticketColumns = ref([
</template>
<template #body-cell-ticket="{ value, row }">
<QTd auto-width class="text-center">
<span class="text-primary cursor-pointer">
<span class="link cursor-pointer">
{{ value }}
<TicketDescriptorProxy :id="row?.id" />
</span>

View File

@ -87,6 +87,7 @@ const columns = computed(() => [
label: 'agencyName',
},
},
columnClass: 'expand',
},
{
align: 'left',
@ -142,17 +143,9 @@ const columns = computed(() => [
{
align: 'center',
name: 'm3',
label: 'volume',
label: t('Volume'),
cardVisible: true,
},
{
align: 'left',
name: 'description',
label: t('Description'),
isTitle: true,
create: true,
component: 'input',
field: 'description',
columnClass: 'shrink',
},
{
align: 'left',
@ -168,12 +161,38 @@ const columns = computed(() => [
component: 'time',
columnFilter: false,
},
{
align: 'center',
name: 'kmStart',
label: t('KmStart'),
columnClass: 'shrink',
create: true,
visible: false,
},
{
align: 'center',
name: 'kmEnd',
label: t('KmEnd'),
columnClass: 'shrink',
create: true,
visible: false,
},
{
align: 'left',
name: 'description',
label: t('Description'),
isTitle: true,
create: true,
component: 'input',
field: 'description',
},
{
align: 'left',
name: 'isOk',
label: t('Served'),
component: 'checkbox',
columnFilter: false,
columnClass: 'shrink',
},
{
align: 'right',
@ -368,10 +387,13 @@ es:
Worker: Trabajador
Review

Pregunta, las traducciones no pueden ir en su propio modulo?

Pregunta, las traducciones no pueden ir en su propio modulo?
Agency: Agencia
Vehicle: Vehículo
Volume: Volumen
Date: Fecha
Description: Descripción
Hour started: Hora inicio
Hour finished: Hora fin
KmStart: Km inicio
KmEnd: Km fin
Served: Servida
newRoute: Nueva Ruta
Clone Selected Routes: Clonar rutas seleccionadas