0
0
Fork 0

feat: refs #8087 Traspasar redadas a travels

This commit is contained in:
Carlos Andrés 2024-10-25 10:03:09 +02:00
parent 12c236276d
commit 4c1e4aedd2
4 changed files with 16 additions and 2 deletions

View File

@ -168,6 +168,12 @@ const onFilterTravelSelected = (formData, id) => {
v-model="data.isExcludedFromAvailable"
:label="t('entry.basicData.excludedFromAvailable')"
/>
<QCheckbox v-model="data.isRaid" :label="t('entry.basicData.raid')" />
<QCheckbox
v-if="isAdministrative()"
v-model="data.isBooked"
:label="t('entry.basicData.booked')"
/>
</VnRow>
</template>
</FormModel>

View File

@ -30,6 +30,14 @@ const entryFilter = {
{
relation: 'travel',
scope: {
fields: [
'id',
'landed',
'shipped',
'agencyModeFk',
'warehouseOutFk',
'daysInForward',
],
include: [
{
relation: 'agency',

View File

@ -43,7 +43,7 @@ const entryFilter = {
const columns = computed(() => [
{
name: 'status',
hidden: true,
columnFilter: false,
},
{
align: 'left',

View File

@ -47,7 +47,7 @@ const redirectCreateEntryView = (travelData) => {
const columns = computed(() => [
{
name: 'status',
hidden: true,
columnFilter: false,
},
{
align: 'left',