Merge branch 'dev' into beta
This commit is contained in:
@@ -290,6 +290,23 @@ const setDocumentTypeConfig = (withTexts = false) => {
|
|||||||
|
|
||||||
itemInfo.value.letterhead = letterheads.value[0].id
|
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}}
|
{{dataStore.documentTypesForCreation[itemInfo.type].labelSingle}}
|
||||||
</template>
|
</template>
|
||||||
</USelectMenu>
|
</USelectMenu>
|
||||||
<UButton
|
<!-- <UButton
|
||||||
variant="outline"
|
variant="outline"
|
||||||
v-if="itemInfo.type === 'advanceInvoices'"
|
v-if="itemInfo.type === 'advanceInvoices'"
|
||||||
icon="i-heroicons-arrow-down-tray"
|
icon="i-heroicons-arrow-down-tray"
|
||||||
@click="showAdvanceInvoiceCalcModal = true"
|
@click="showAdvanceInvoiceCalcModal = true"
|
||||||
>Auto Positionen</UButton>
|
>Auto Positionen</UButton>-->
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
|
|
||||||
<USlideover
|
<USlideover
|
||||||
|
|||||||
Reference in New Issue
Block a user