0
0
Fork 0

Removed unused code

This commit is contained in:
Joan Sanchez 2023-03-23 14:54:02 +01:00
parent a52cb0fb46
commit fe667f4c89
1 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,6 @@ async function updateDiscount({ saleFk, discount, canceller }) {
function onUpdateDiscount(response) { function onUpdateDiscount(response) {
const row = store.data[response.rowIndex]; const row = store.data[response.rowIndex];
row.sale.discount = response.discount; row.sale.discount = response.discount;
//store.data[response.rowIndex].sale.discount = response.discount;
quasar.notify({ quasar.notify({
message: t('Discount updated'), message: t('Discount updated'),
type: 'positive', type: 'positive',
@ -217,7 +216,7 @@ async function remove({ id }) {
<q-popup-edit <q-popup-edit
v-model="row.quantity" v-model="row.quantity"
v-slot="scope" v-slot="scope"
title="Claimed quantity" :title="t('Claimed quantity')"
buttons buttons
@update:model-value="updateQuantity(row)" @update:model-value="updateQuantity(row)"
> >
@ -337,4 +336,5 @@ es:
Amount Claimed: Cantidad reclamada Amount Claimed: Cantidad reclamada
Delete claimed sale: Eliminar venta reclamada Delete claimed sale: Eliminar venta reclamada
Discount updated: Descuento actualizado Discount updated: Descuento actualizado
Claimed quantity: Cantidad reclamada
</i18n> </i18n>