0
0
Fork 0

fix: refs #4466 remove console log

This commit is contained in:
Jorge Penadés 2024-01-26 13:28:40 +01:00
parent 8d33408bda
commit 36be4e3dca
1 changed files with 3 additions and 6 deletions

View File

@ -168,7 +168,6 @@ async function setInvoiceCorrection(id) {
}, },
}), }),
]); ]);
console.log(correctedData, correctedData);
if (correctingData[0]) invoiceInCorrection.corrected = correctingData[0].correctedFk; if (correctingData[0]) invoiceInCorrection.corrected = correctingData[0].correctedFk;
invoiceInCorrection.correcting = correctedData.map( invoiceInCorrection.correcting = correctedData.map(
@ -222,7 +221,6 @@ async function checkToBook() {
async function toBook() { async function toBook() {
await axios.post(`InvoiceIns/${entityId.value}/toBook`); await axios.post(`InvoiceIns/${entityId.value}/toBook`);
// Pendiente de sincronizar todo con arrayData
quasar.notify({ quasar.notify({
type: 'positive', type: 'positive',
message: t('globals.dataSaved'), message: t('globals.dataSaved'),
@ -414,15 +412,14 @@ const createInvoiceInCorrection = async () => {
</template> </template>
<template #actions="{ entity }"> <template #actions="{ entity }">
<QCardActions> <QCardActions>
<!--Falta crear supplier descriptor--> <QBtn
<!-- <QBtn
size="md" size="md"
icon="person" icon="person"
color="primary" color="primary"
:to="routes.getSupplierRoute(entity.supplierFk)" :to="routes.getSupplier(entity.supplierFk)"
> >
<QTooltip>{{ t('invoiceIn.list.supplier') }}</QTooltip> <QTooltip>{{ t('invoiceIn.list.supplier') }}</QTooltip>
</QBtn> --> </QBtn>
<!--Sección entradas no disponible--> <!--Sección entradas no disponible-->
<QBtn <QBtn
size="md" size="md"