forked from verdnatura/salix-front
Removed unused code
This commit is contained in:
parent
a52cb0fb46
commit
fe667f4c89
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue