0
0
Fork 0

refactor: refs #7553 deleted logs

This commit is contained in:
Jon Elias 2024-09-05 14:32:22 +02:00
parent 65e3fd874d
commit db6f4fd15a
3 changed files with 11 additions and 9 deletions

View File

@ -259,7 +259,6 @@ async function createRefund(withWarehouse) {
} }
async function changeShippedHour(time) { async function changeShippedHour(time) {
console.log('time: ', time);
const params = { const params = {
shipped: time, shipped: time,
}; };

View File

@ -440,10 +440,18 @@ function getNoteValue(description) {
:color="'negative'" :color="'negative'"
> >
{{ props.row.visible }} {{ props.row.visible }}
{{ console.log(props.row) }}
</QChip> </QChip>
</QTd> </QTd>
<QTd>{{ props.row.available }}</QTd> <QTd>
<QChip
dense
rounded
v-if="props.row.available < 0"
:color="'negative'"
>
{{ props.row.available }}
</QChip>
</QTd>
<QTd>{{ props.row.quantity }}</QTd> <QTd>{{ props.row.quantity }}</QTd>
<QTd class="description-cell"> <QTd class="description-cell">
<div class="row full-width justify-between"> <div class="row full-width justify-between">

View File

@ -302,7 +302,7 @@ async function sendDocuware(ticket) {
} }
notify('globals.dataSaved', 'positive'); notify('globals.dataSaved', 'positive');
} catch (err) { } catch (err) {
console.log('err: ', err); console.err('err: ', err);
} }
} }
@ -321,7 +321,6 @@ function openBalanceDialog(ticket) {
} }
for (let ticketData of checkedTickets) { for (let ticketData of checkedTickets) {
console.log('ticketData: ', ticketData);
amountPaid.value += ticketData.totalWithVat; amountPaid.value += ticketData.totalWithVat;
clientFk.value = ticketData.clientFk; clientFk.value = ticketData.clientFk;
description.value.push(ticketData.id); description.value.push(ticketData.id);
@ -367,8 +366,6 @@ const setAmountToReturn = (newAmountGiven) => {
}; };
function setReference(data) { function setReference(data) {
console.log('entity: ', data);
let newDescription = ''; let newDescription = '';
switch (data) { switch (data) {
@ -410,7 +407,6 @@ function setReference(data) {
} }
dialogData.value.value.description = newDescription; dialogData.value.value.description = newDescription;
console.log('Updated description:', dialogData.value.value.description);
} }
</script> </script>
@ -451,7 +447,6 @@ function setReference(data) {
:user-params="userParams" :user-params="userParams"
:right-search="false" :right-search="false"
redirect="ticket" redirect="ticket"
auto-load
v-model:selected="selectedRows" v-model:selected="selectedRows"
:table="{ :table="{
'row-key': 'id', 'row-key': 'id',