diff --git a/pages/createDocument/edit/[[id]].vue b/pages/createDocument/edit/[[id]].vue index cb1160d..691839e 100644 --- a/pages/createDocument/edit/[[id]].vue +++ b/pages/createDocument/edit/[[id]].vue @@ -290,6 +290,23 @@ const setDocumentTypeConfig = (withTexts = false) => { itemInfo.value.letterhead = letterheads.value[0].id + if(itemInfo.value.type === "advanceInvoices") { + + + itemInfo.value.rows.push({ + mode: "free", + text: "Abschlagszahlung", + quantity: 1, + unit: 10, + price: 0, + taxPercent: 19, + discountPercent: 0, + advanceInvoiceData: advanceInvoiceData.value + }) + + setPosNumbers() + } + } @@ -1182,12 +1199,12 @@ const setRowData = (row) => { {{dataStore.documentTypesForCreation[itemInfo.type].labelSingle}} - Auto Positionen + >Auto Positionen-->