fixed item button create new item feature fixed..

This commit is contained in:
Cüneyt Şentürk
2020-12-26 12:48:55 +03:00
parent 2ba5e53b3e
commit 8dbe178a70
3 changed files with 88 additions and 39 deletions

View File

@ -718,6 +718,7 @@ const app = new Vue({
if (typeof document_items !== 'undefined' && document_items) {
this.edit.status = true;
document_items.forEach(function(item) {
// form set item
this.form.items.push({
@ -761,7 +762,7 @@ const app = new Vue({
description: item.description,
quantity: item.quantity,
price: (item.price).toFixed(2),
add_tax: (item_taxes.length) ? true : false,
add_tax: true,
tax_ids: item_taxes,
add_discount: (item_taxes.length) ? true : false,
discount: item.discount_rate,