Merge pull request #1723 from SevanNerse/master

minor bugs fixed related to the items of documents
This commit is contained in:
Cüneyt Şentürk 2021-01-03 18:10:32 +03:00 committed by GitHub
commit a3f2671d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -489,7 +489,7 @@ const app = new Vue({
this.form.items.push({
item_id: item.item_id,
name: item.name,
description: item.description,
description: item.description === null ? "" : item.description,
quantity: item.quantity,
price: (item.price).toFixed(2),
tax_ids: item.tax_ids,
@ -524,7 +524,7 @@ const app = new Vue({
this.items.push({
item_id: item.item_id,
name: item.name,
description: item.description,
description: item.description === null ? "" : item.description,
quantity: item.quantity,
price: (item.price).toFixed(2),
add_tax: true,

View File

@ -44,7 +44,7 @@
required="required"
data-item="name"
v-model="row.name"
@input="onCalculateTotal"
@input="onBindingItemField(index, 'name')"
@change="form.errors.clear('items.' + index + '.name')">
<div class="invalid-feedback d-block"
@ -68,6 +68,7 @@
v-model="row.description"
data-item="description"
resize="none"
@input="onBindingItemField(index, 'description')"
></textarea>
</td>
@endif