description of an item must be checked as null or not
This commit is contained in:
parent
e264881773
commit
45bfcf31b6
@ -489,7 +489,7 @@ const app = new Vue({
|
|||||||
this.form.items.push({
|
this.form.items.push({
|
||||||
item_id: item.item_id,
|
item_id: item.item_id,
|
||||||
name: item.name,
|
name: item.name,
|
||||||
description: item.description,
|
description: item.description === null ? "" : item.description,
|
||||||
quantity: item.quantity,
|
quantity: item.quantity,
|
||||||
price: (item.price).toFixed(2),
|
price: (item.price).toFixed(2),
|
||||||
tax_ids: item.tax_ids,
|
tax_ids: item.tax_ids,
|
||||||
@ -524,7 +524,7 @@ const app = new Vue({
|
|||||||
this.items.push({
|
this.items.push({
|
||||||
item_id: item.item_id,
|
item_id: item.item_id,
|
||||||
name: item.name,
|
name: item.name,
|
||||||
description: item.description,
|
description: item.description === null ? "" : item.description,
|
||||||
quantity: item.quantity,
|
quantity: item.quantity,
|
||||||
price: (item.price).toFixed(2),
|
price: (item.price).toFixed(2),
|
||||||
add_tax: true,
|
add_tax: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user