8627-devToTest #1421

Merged
alexm merged 768 commits from 8627-devToTest into test 2025-02-18 12:37:37 +00:00
1 changed files with 8 additions and 2 deletions
Showing only changes of commit a6a0c134da - Show all commits

View File

@ -110,10 +110,16 @@ const columns = computed(() => [
attrs: { inWhere: true }, attrs: { inWhere: true },
align: 'left', align: 'left',
}, },
{
label: t('globals.visible'),
name: 'stock',
attrs: { inWhere: true },
align: 'left',
},
]); ]);
const totalLabels = computed(() => const totalLabels = computed(() =>
rows.value.reduce((acc, row) => acc + row.stock / row.packing, 0).toFixed(2) rows.value.reduce((acc, row) => acc + row.stock / row.packing, 0).toFixed(2),
); );
const removeLines = async () => { const removeLines = async () => {
@ -157,7 +163,7 @@ watchEffect(selectedRows);
openConfirmationModal( openConfirmationModal(
t('shelvings.removeConfirmTitle'), t('shelvings.removeConfirmTitle'),
t('shelvings.removeConfirmSubtitle'), t('shelvings.removeConfirmSubtitle'),
removeLines removeLines,
) )
" "
> >